ConvertQuatToEuler

Description

Converts quaternion animation to individual (Euler) fcurves.

If there is keyframe animation on the local rotation channels then it will be converted to individual (Euler) fcurves.

Scripting Syntax

    ConvertQuatToEuler( [InputObjs] )

Parameters

Parameter | Type | Description
InputObjs | String | List of objects. Default Value: Currently selected objects

Examples

VBScript Example

    '
    ' In this example, an FCurve is created on the XRot param
    ' of the cube. Then, two keys are created (at frame 1 and 30)
    ' which are then converted to quaternion animation and back
    ' to Euler fcurves.
    '

    NewScene
    CreatePrim "Cone", "MeshSurface", "MyCone"

    ' Add two keys, at frame 1 and 30
    SaveKey "MyCone.kine.local.rotx", 1,  0
    SaveKey "MyCone.kine.local.rotx", 30, 70

    ' Convert to quaternion fcurves
    ConvertEulerToQuat

    ' Convert back to normal fcurves
    ConvertQuatToEuler

    ' Play the animation
    PlayForwardsFromStart

See Also

ConvertEulerToQuat | RemoveAnimation | RemoveAllAnimation | SaveKey
RemoveKey | PrevKey | FirstKey | LastKey
SIQuaternion |  |  |

Autodesk Softimage v7.5