Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (transform.localRotation.x > 0.706f)
- {
- v3RotateTowards.y -= 180;
- }
- else if (transform.localRotation.x < -0.706f)
- {
- v3RotateTowards.y -= 180;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement