/
setRotation
setRotation
Description
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.
Functional area
Data manipulators
Command syntax
Syntax
setRotation "moduleName" rotVec[-ws] [-preRot] [-def] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
rotVec | The vector data to apply | ||
moduleName | Name of the module you want to modify |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
ws | 0 | — | — | RotVec data is applied in world space coordinates |
preRot | 0 | — | def | — |
def | 0 | — | preRot | — |
Return value
void
Examples
//Create a marker and set its rotation create Marker "R_UpperArm"; setRotation R_UpperArm <<100, 0, 0>>;
Additional information
Related commands
, multiple selections available,
Related content
setRotation
setRotation
More like this
setPosition
setPosition
More like this
setScale
setScale
More like this
create
More like this
setProperty
setProperty
More like this
getRotation
getRotation
More like this