Unity Script Help

Hello!

I am trying to build a Solar System in Unity. Everything is going great, but I am trying to build Venus. I don’t know how to make it spin around its own axis counterclockwise, while the planet orbits the Sun clockwise.
Anyone who could help me?

Thank you!

How are you making all the other planets orbit and rotate?

It’s hard for me to imagine any answer to that ^ question where the solution to your problem is anything other than “put in a negative number for the rotation speed”. Nevertheless, to give any sort of help, we’ll need to know what you have in place.

2 Likes

Use this Unity - Scripting API: Transform.RotateAround to rotate around the sun while using this Unity - Scripting API: Transform.Rotate to spin itself.