- Home /
Question by
pappalardodd · May 30, 2020 at 10:58 PM ·
rotationphysicsrigidbodyaddtorque
How to rotate with a Pid controller
I would like someone to describe me how to use a PID controller to rotate a rigidbody with AddTorque to a specific position. (like a spacecraft that rotates the Y axis of rotation towards Camera.forward for example). Can anyone show it to me with a script?
Comment
Your answer
Follow this Question
Related Questions
How to make an object(cylinder) always at the center of an object(Terrain)? 0 Answers
how to shot a soccer ball in curve path according to the swipe type 2 Answers
Balancing in a bike game 0 Answers
Rolling a 3D triangle 0 Answers
How not to make a RigidBody not go into ground when tilted foward? 1 Answer