Blueprint Quaternion Library

Hey @ImmutableLambda

thank you for the plugin. The whole rotating with gimbal lock and other problems have always been an issue for me. Tried to tackle it again with your plugin, basically having a spaceship be able to rotate freely without issues.

It seems I can’t simply apply the axis input to “Add Component World Rotation” or “Add Actor World Rotation”, iirc just X (input, 0,0, 1) actually gave me any rotation. I couldn’t get X and Y to work properly. Being absolutely lost I tried “Add Controller Yaw Input” etc again with a modified PlayerCameraManager that allows rotating without limits. But then when I rotate in one axis followed by another (say Roll 90° and then input Pitch) the axis is wrong (Yawing). I’ve attached a screenshot of how it would “ideally work”. Now I’ll try going back to Quaternions again, but could you give me a tip how I can get this going by using Quaternions? I tried making rotations from the axis, but… ye. Let’s say I don’t know what I’m doing with Quaternions (after watching multiple videos), especially in relation to the actor.