Reputation: 1
I have been working on an RTS game and am working on unit movement now. I have finished path finding as well as unit spacing, but I am coming across a big problem: when my units (tanks in this case) go over an incline, they stay parallel to the ground because I am setting their rotation based on Quaternion.LookRotation(distanceToDestination);
so I can get a good rotation.
Is there a way that I can get the rigidbody to behave normally and still set the unit's rotation?
Upvotes: 0
Views: 979
Reputation: 1102
You have two really simple-to-implement options.
Hope this helps.
Upvotes: 1