Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Parent + Children not rotating correctly

$
0
0
I'm currently using this function to try and rotate the parent:
Code (CSharp):
  1. transform.Rotate(Vector3.forward, Time.deltaTime * 180, Space.World);
but it's not rotating it like I want it to. It is rotating all the children in the parent the same exact way as parent.
Here's a 15 second youtube video showing what I mean.



How can I get the object to rotate like in the first part of the video?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>