ReePrime
Unity - Rotation problem

Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.

Unity - Rotation problem

S
Shikura95

58 Views • Feb 20, 2013

Description

Code-Source :
transform.eulerAngles = new Vector3(transform.eulerAngles.x,Mathf.MoveTowardsAngle(transform.eulerAngles.y, Input.GetAxis("Mouse X"), 100), transform.eulerAngles.z);

Keywords & Tags