How to use physics to make an object face a specific direction
I've seen a few people ask this question. The answers are usually solutions that only work on one axis or use things like RigidBody.MoveRotation which just teleports the object to the desired angle. None of the solutions are what I'm looking for. I want to use physics to tween an object's rotation to face a specific direction on all 3 axes in such a way that if an object gets in its way it will be stopped.
Your answer
Follow this Question
Related Questions
Player rotates spastically on all axes when camera is turned 0 Answers
Weird rotation when using Slerp!!? 3 Answers
Swapping Right handed Quaternions to left handed from streaming data. 1 Answer
How to know whether the two object parallel intersected or perpendicularly intersected ?? 0 Answers
Quaternion relative difference problem 0 Answers