Efficient way to determine height/Y on any given X/Z position of a terrain? #345
-
Hello there! First of all, thank you for providing this incredible tool, its been highly beneficial for our project. We are currently working on a squad based RTS (meaning that not every individual unit is pathfinding, instead they are commanded in fixed groups and always stick around the origin position of their group). Being an RTS, we try to safe as much resources as possible to get a high amount of units/squads and their behaviors going. I'm looking for guidance if the tool also provides or enables an efficient way to determine the Y position of individual units on a given X,Z coordinate, as we are trying to avoid any and all physics. Up until now we handled it with raycasts for each individual unit, which in our tests wasn't sufficiently scalable. I'd greatly appreciate it if anyone can point me towards something helpful! Happy eastern, Deltt |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This is answered at length in the docs. You'll find multiple options in the API, and the integrating with Terrain3D document. |
Beta Was this translation helpful? Give feedback.
This is answered at length in the docs. You'll find multiple options in the API, and the integrating with Terrain3D document.