My goal is to create a solar system simulation using Three.js, but I'm having trouble getting the planets to rotate in an inclined manner around the star. I have attempted to implement a solution, but the rotation is not correct. Here is a sample in a fiddle with the incorrect rotation:
I also tried following the advice provided in this solution: How to rotate a 3D object on axis using three.js?, but I have not been able to achieve the desired result.
If anyone has any tips or suggestions to help me out, I would greatly appreciate it. Thank you!