Rotation and orbit rotation

Hey guys
Need a little help. I’m trying to recreate the solar system and need some help with rotation and orbit rotation. I got standard rotation sorted so the sphere rotates on the Z axis but how do I get an orbit effect along with a sphere rotating around another but keeping the same side of it facing the sphere it is facing? In simple terms the moon as we only see one side of it.

Blueprint and matinee only please. I’ve had people put code up on the blueprint section and I DO NOT WANT CODE! Thanks in advance guys!

Would this help?

I used a Tick Event for the sake of the example but you can use what works best for you.

How are you referencing in the Earth and the Sun? At the moment I only got each planet setup in there own individual blueprint all doing the exact same thing only some planets spin either faster or slower then the earth cos that is there speed.

I created a new variable and set its Variable Type to Actor then named it Earth, did the same for Sun. In your case, you could directly set the Variable Type to Earth, Jupiter, etc… Since they would all need their own variable reference.

I’ve sorted it now. I ended up putting the moon into the same blueprint as the Earth and made it spin on the center axis of the Earth, that way the same side of the moon is always facing Earth like it does and it still orbits around it. Thank you for your help anyway. It is appreciated.

Can you post a screenshot of your blueprint? I’ve run into the same problem and can’t seem to get past it. Much appreciated!

Hi there. I’m afraid I can’t as I deleted the project a few months back. Sorry.