- Home /
Best Answer
Answer by clunk47 · Dec 20, 2012 at 07:33 PM
You would create a Quaternion and name it what you wish, in this example I'll name it def_Rot.
C# Example
using UnityEngine;
using System.Collections;
public class EXAMPLE
{
Quaternion def_Rot;
void Start()
{
def_Rot = transform.rotation;
}
}
Note that I defined it in Start() function. This will get the rotation on startup, then if you want to go back to it you would say something like
transform.rotation = def_Rot;
or for smooth transition back to def_Rot,
Use Quaternion.Slerp
Answer by sparkzbarca · Dec 20, 2012 at 07:32 PM
well you can make it a prefab. then use that prefab with that rotation.
Alternatly you can open the object in a modelling program and rotate it in there and reimport it.
Your answer
![](https://koobas.hobune.stream/wayback/20220613085725im_/https://answers.unity.com/themes/thub/images/avi.jpg)