We are building an RTS game and need to have our units to rotate to the surface of the terrain.
I have tried rigging the unit with a raycast group positioned at the 4 corners of the unit, this doesn’t work yet but my concern is performance when dealing with 100’s possibly 1000’s of units.
I have an option to use the terrain normals but this also doesn’t appear to work, I was then thinking if it’s possible to handle this by using either the units path or the generated recast graph?
Any advice or pointers would be awesome, thank you for your time.
All the best