I started working with the Unreal engine a little time ago and have now a really basic Problem.
I want to create a really simple solar system.
A Sun and some Planets rotating around the Sun.
And here is my Problem. How do I create the rotation of my Planets around the Sun in C++ ?
In the last Engine, I worked with, I would just Multiply my Rotation matrix with the Matrix of my Planet and as long as I don’t translate it back to the centre before I do this, the Planet should Rotate around the Centre.
So is there a simple Actor function to achieve this in the unreal Engine ?
Thank you for your Time.