ennuo / toolkit

Tools for working with the LittleBigPlanet series.
59 stars 12 forks source link

Convert emitter parent rotation angle from radians to degrees when backporting #32

Closed RibShark closed 3 weeks ago

RibShark commented 3 weeks ago

The existing code assumed that the rotation angle was already stored in degrees, however in LBP3 this is not the case, so the angle must be converted from radians. World rotation logic was also wrong since it was attempting to convert the value that was already in radians into radians again; this is also fixed.