- Home /
 
               Question by 
               Noxury · Jun 06, 2016 at 09:07 PM · 
                quaternionlookatrotate objectforwardlocalrotation  
              
 
              How to make an object lookat and rotate on its local axis simultaneously
Hi,
I have a crosshair sprite in the world (without canvas), which is constantly facing the camera using crosshair.LookAt(Camera.main.transform).
I want also to rotate the crosshair around its forward vector, to imitate the spinning effect of the minigun. How can I combine those two calculations together?
Thanks in advance!
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Problem with Quaternion.LookRotation() 1 Answer
How to rotate an object depending on the rotation of an other Object 3 Answers
How to add a rotation to this? 1 Answer
Child versus Parent rotations 3 Answers
2D look at 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                