Bakkes / CPPRP

Fast C++ Rocket League replay parser
Mozilla Public License 2.0
33 stars 9 forks source link

Question about 'rotation' units #16

Closed davechurchill closed 1 year ago

davechurchill commented 1 year ago

I am curious if you know exactly what units the 'rotation' data structure holds. For example, the z-axis 'rotation' appears to be:

I get the 0 / 1 for the east/west, buy why 0.7 for north/south? It's very close to sqrt(2)/2 but I can't decipher what's going on

Bakkes commented 1 year ago

Rotations should just be quaternions. Rotations used to be simply euler angles but got changed to quaternions some time in 2018/2019

davechurchill commented 1 year ago

Thank you!