- Home /
transform.LookAt overrides rigidbody rotation
We have a script which requires the object to face the camera and rotate on key press. However, when the LookAt function is active it is not rotating about the axis perpendicular to the surface. Eg a square piece of paper on a ball has to move along the surface of the ball and also be able to rotate about the axis which is the line joining the center of the paper and the ball.
Comment
Your answer
Follow this Question
Related Questions
Rotating Rigidbody properly using AddRelativeForce 0 Answers
Anti-Gravity vehicle bounce-back help. 1 Answer
Change object position on trigger enter 3 Answers
LookAt Translation Not Sticking 1 Answer
Object not rotating 1 Answer