- Home /
 
               Question by 
               VIPINSIRWANI · Sep 07, 2013 at 06:10 AM · 
                rotationquaternionparentchild  
              
 
              How to fix Child Object Rotations.?
Hello Everyone, I put here one empty game object and inside i put 1 ball as a child and i put 1 more cube as child inside this empty game object i want only ball should Rotate but my cube is also Rotating with this Empty Game Object. How can i fix the Rotation of cube it is child of Empty game object , can i fix the rotation of only cube? 
               Comment
              
 
               
              Answer by mirkobon · Sep 07, 2013 at 11:17 AM
Maybe use this:
 var cube : GameObject;
 
 // add your part here
 
 cube.transform.rotation = 0
tell me if it worked
Your answer
 
 
             Follow this Question
Related Questions
Pointing a child at an object using its parents rotation 1 Answer
Child versus Parent rotations 3 Answers
force child rotation to zero? 2 Answers
Make a simple tree 1 Answer
Why is a child object not rotating properly with parent? 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                