Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

How to make a rigidbody rotate towards an object using physics

$
0
0
So the basics of this is I am trying to make a space ship simulator so I am using physics with no friction or gravity. I am trying to set up some AI to allow ships to travel from 1 point to another. I can rotate my ship, but I am trying to figure out how to make it slow down automatically by apply counter rotational forces so that it will stop and point directly at a target. If you can help me understand this, or point me to some good sources or some well commented code so I can figure it out it would be greatly appreciated.

Viewing all articles
Browse latest Browse all 171066

Trending Articles