Don't know if you play with my world have tried to use the third person to play
He is the rotation of the rotating head position first body motionless, beyond the body position by 60 degrees body begins to rotate
Wanted to mean to try to write about, find difficult
Can someone provide a train of thought very vexed
CodePudding user response:
Limit is rotating, you try to write, post code come out to see if the problemCodePudding user response:
It was easy to think of it is trouble to write, is primarily a quaternion bad directly calculate the deviation of the z axis heading
Question now is how to control of the body, because the first control steering head, body to turn directly jump value very vexed
CodePudding user response:
Vector3. Angle (Camera. Main. Transform. Forward, the body. The forward);How much beyond just turn let the body to follow
CodePudding user response: