Fix small but breaking bug from last commit
This commit is contained in:
parent
7a4a380f1a
commit
cbe7769e2b
@ -71,7 +71,7 @@ namespace Cyber.Entities {
|
||||
/// </summary>
|
||||
/// <returns>The rotation.</returns>
|
||||
public Vector3 GetRotation() {
|
||||
Vector3 Rotation = new Vector3(Head.localEulerAngles.x,
|
||||
return new Vector3(Head.localEulerAngles.x,
|
||||
transform.localEulerAngles.y, Head.localEulerAngles.z);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user