Quaternion.identitystatic var identity : QuaternionDescriptionThe identity rotation (Read Only). This quaternion corresponds to "no rotation": the object is perfectly aligned with the world or parent axes.
JavaScript
transform.rotation = Quaternion.identity; using UnityEngine; import UnityEngine |
