- Home /
 
 
               Question by 
               Reaksmey-Rt · Nov 03, 2016 at 04:38 AM · 
                rotationrotate objectrotatearoundpivotpivot-point  
              
 
              How to Rotate Object around point only 90 Degree.
currently I try a small game with VR HTC Vive . I make a long object and set parent it to VR controller when i catch it . but i want to set Rotation of a long object to corner of my VR controller (90 degree of VR controller), so how can i do ? 
 
                 
                bandicam-2016-11-02-14-06-01-443.jpg 
                (88.4 kB) 
               
 
              
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by Namey5 · Nov 03, 2016 at 06:04 AM
Have you tried setting the local rotation of the object, i.e.
 transform.localRotation.eulerAngles.z = 90;
 
              thank you for this . But the Pivot of Oar not at the point of VR controller Point.
Your answer
 
             Follow this Question
Related Questions
How to rotate an object according to the camera's view? 1 Answer
Rotating an Object (Like Handle in Unity) 3 Answers
Programmatically Find Pivot Point 0 Answers
Quaternion reset rotations didnt smooth 0 Answers
Rotate object based on set time. 2 Answers