How to convert Blender bone rotation (quaternion) Value to CGE format

Note:

  • To be clear, to get animation from Blender to CGE, just export it to glTF.
    • Castle Game Engine will automatically be able to play it.
    • Rotation animation is then expressed as TOrientationInterpolatorNode which is a sequence of rotations for each joint, already in format CGE handles.
    • This is all already ready and in proper format and you don’t need to write any special Pascal or Python code to use this :slight_smile:

Upcoming change to skinned animation handling (see Skinned animation using the Skin node | Castle Game Engine , not yet merged to engine master!) will also mean that:

2 Likes