Question by
Rofuera · Jul 13, 2020 at 08:46 AM ·
vector3quaternioneulerangles
Rotate object towards Vector
I have an object with two "controllers" on the sides. If a person presses on one of them, this object rotates. But I also have these little dots on the scene, and if controller is somewhere near them, the object will have to rotate towards. The difficulty here is that object rotates around these controllers.
My question is: how can I make an object rotate towards Vector3, around an axis?
Comment
Your answer
Follow this Question
Related Questions
Why isn't my steering wheel working? 0 Answers
Avoiding Gimbal Lock with Vector3 EulerAngles and Applying Torque 0 Answers
X-Axis rotation quirk 0 Answers
GameObject Smooth Movement 0 Answers