I'm a beginner and just started doing project on Unity, I have an empty GameObject and a cube inside that gameObject. I want the cube to rotate/spinLeft/spinRight while empty gameObject to move forward/right/left/back. Can anyone help me how to do this.
Thanks In Advance
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
3 People are following this question.
How to object rotate on a single axis towards another object? C#
have one object rotate another object on the y axis
Multiple rotations make a mess!
Rotating Camera around Player's X-axis while rotating Player around its Y-axis (using mouse input)
Rotating around another object without parent/child relation??