To calculate the change in rotation,
Make sure this matches the axis you are rotating around! If your chest lid rotates around the y axis, for example, you need to use y
in both the this.goalRotation
and this.startingRotation
To calculate the change in rotation,
Make sure this matches the axis you are rotating around! If your chest lid rotates around the y axis, for example, you need to use y
in both the this.goalRotation
and this.startingRotation