I am making a space game in BGE and I need a planet to orbit around the sun without having the origin point inside the sun (this is because I want it to have a Collision bounds). How can I do this? Thanks
Add a circle or any other object (could be an empty) to the position of the sun and parent the planet to it. If you rotate the center object, the planet will rotate too, you can then animate its rotation via the center object's rotation (or just let it rotate on its local axis via Motion Actuator). Its important to create a new center object for every other planet so that their rotations can be different.
- Orbit Object
- Planet (Origin at sun)