- Home /
How to get an object to return to a "resting" orientation?
Hello, I beleive I have a simple question: I am making an underwater robot simulator, when the player hits an object, the robot is pitched. Is there a relatively easy way to make it so that the robot "self rights" back to floating level when it is no longer forced against the object?
Long story short, I need a way to get an object to constantly try to go to a certain orientation, but still allow objects to bump it off.
Or if their is a way to read the current orientation of an object, that will work for me too. :)
Thank you, and have a wonderful day! -Gloop
Your answer
![](https://koobas.hobune.stream/wayback/20220613104356im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
orienting player in one direction 1 Answer
Getting the orientation of Hit triangle? 1 Answer
How to change the way an object is facing when its rotation is 0,0,0? 2 Answers
Simulating different gravity, how to make falling platform fall in the desired direction? 1 Answer
How do I control particle orientation? (legacy vs shuriken) 3 Answers