- Home /
Orbit player around center point
Im a game artist in college and we were required to make a game in unity for a project. because i am only an artist i have almost no experience with programming so i need a little help. I want to make the player orbit a center point in a circle motion while using the up and down keys to move forward and backward around the circle. any help would be appreciated!
Answer by kalvinlyle · Apr 04, 2012 at 10:40 AM
There are a bunch of ways to do this, probably the easiest is to create a GameObject at the center of the circle and make the player a child of that root object. Put your movement script on that object and use the keyboard inputs to alter the rotation of the player root.
Your answer
![](https://koobas.hobune.stream/wayback/20220613065851im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Player movement done with rigidbody.addForce together with orbiting around an object. 0 Answers
Jet bike is not moving forward. 0 Answers
Player is Speeding up in collisions 0 Answers
All Unity Engine games' controls not working 1 Answer
How to limit the forces applied to an object to just forward, left, and right? 0 Answers