- Home /
Player movement done with rigidbody.addForce together with orbiting around an object.
Hi. I would like to ask you for help. I want my player object to move by adding force to it, and I want it to constantly orbit an object. (a moon lander orbiting a really small moon) Any ideas on how to do it?
I want to maintain the effect of adding force (using RotateAround works more like setting position), and I want my player character to orbit around a bigger object. Player is constantly falling in the direction of this object. User can't really rotate, he can engage thrusters to slow down falling, and move forward/backward/left/right.
If you use transform.LookAt() to make the user's space shuttle (im guessing) to always look at the center point of the moon, you can add a force in the update on the rigidbody's tranform.Right, which would cause it to orbit left. @TowerHunter
Your answer
Follow this Question
Related Questions
Orbit player around center point 1 Answer
Player's Movement not smooth 1 Answer
Orbit around an object 0 Answers
Player movement 1 Answer
How to do simple player movement? 2 Answers