- Home /
operation between the Vector3
who can tell me what is geometric meaning of operation between the Vector3
like this:
Quaternion rotation=Quaternion.Euler(y,x,0);
transform.rotation=rotation;
transform.position=rotation*new Vector3(0,0,-100)+Vector3.zero;
Comment
Answer by Anton Petrov · Oct 28, 2010 at 06:40 AM
"+ Vector3.zero" definitely will change nothing.
While "rotation*new Vector3(0,0,-100)" rotates point (0,0,-100) with a rotation.
Your answer
Follow this Question
Related Questions
Moving object with vector3 lerp 0 Answers
Input.GetAxis("Horizontal") problem 3 Answers
Rigidbody + Vector3 3 Answers
Vector3.lerp doest work 1 Answer