08-13-2023, 09:05 PM
Figured it out.
Move leaning logic behind base.Update() in my Motor Update() component and:
this.gameObject.transform.localEulerAngles = new Vector3 (this.gameObject.transform.localEulerAngles.x, this.gameObject.transform.localEulerAngles.y, this.gameObject.transform.localEulerAngles.z+sideLean);
Move leaning logic behind base.Update() in my Motor Update() component and:
this.gameObject.transform.localEulerAngles = new Vector3 (this.gameObject.transform.localEulerAngles.x, this.gameObject.transform.localEulerAngles.y, this.gameObject.transform.localEulerAngles.z+sideLean);

