Use setRotation to set the rotation of a module in relative or world space coordinates.
setRotation modifies the keys of the current frame. If no animation data exists when setRotation is run, it creates a key.
Data manipulators
setRotation "moduleName" rotVec[-ws] [-preRot] [-def] |
Name | Type | Required | Comments |
---|---|---|---|
rotVec | The vector data to apply | ||
moduleName | Name of the module you want to modify |
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
ws | 0 | — | — | RotVec data is applied in world space coordinates |
preRot | 0 | — | def | — |
def | 0 | — | preRot | — |
void
//Create a marker and set its rotation create Marker "R_UpperArm"; setRotation R_UpperArm <<100, 0, 0>>; |