/
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

NameTypeRequiredComments
rotVec

The vector data to apply
moduleName

Name of the module you want to modify

Flags

NameFlag argumentsArgument typeExclusive toComments
ws0RotVec data is applied in world space coordinates
preRot0def
def0preRot

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


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks