Question by
Leopleurodon · Sep 30, 2017 at 03:26 PM ·
vrlookatspriterendererrotation axis
2D-Sprites Face VR-Camera + Custom Rotation
I have a VR camera and 2D-Sprites moving around it in 3D Space. When I use transform.LookAt(targetCamera.position);
, they always face the camera properly BUT I can no more specify rotation around the Z-axis (As shown here with the jellyfish).
Is there a way to use LookAt while still being able to modify z-axis rotation values in the inspector?
question.jpg
(28.7 kB)
Comment
Your answer
Follow this Question
Related Questions
IfLookedAt Memory Problem 0 Answers
How do I orient one axis of an object following LookAt/LookRotation? 0 Answers
How do I make it so that an object rotates on only one axis? 0 Answers
How to object rotate on a single axis towards another object? C# 2 Answers
How to LookAt things when using Google Cardboard SDK? 1 Answer