Question by
SirYo · May 25, 2018 at 04:58 PM ·
rotationquaternionrotateeuler360-degrees
Why Quaternion.Euler can't rotate 360 Degrees
public Transform theChild;
public float multiply;
transform.SetPositionAndRotation(transform.position, Quaternion.Euler( transform.rotation.x, theChild.transform.rotation.y*multiply, transform.rotation.z));
im using vr cam so i rotate using head this code is to rotate the body in y axis as the head rotate but it cant rotate 360
Comment
Your answer
Follow this Question
Related Questions
Quaternions cancels transform.Rotate 0 Answers
Does anyone know how to convert this rotation to lerp 1 Answer
More problems with arrow shooting 0 Answers
Setting a quaternion's rotation value 0 Answers