Vicon Shogun banner

Description

This command is used to change the current priority node.

Select an object in the scene and execute setPriority. The selected object is now the priority module. If several objects are selected prior to issuing the command, the primary selection among them will be the new priority node.

Usually, the priority object is a CharacterNode so that you do not have to declare explicit paths for objects that are part of the CharacterNode hierarchical reading motion data into Shogun Post, the first CharacterNode is set by default as the priority node.

Functional area

Data manipulators

Command syntax

Syntax

setPriority

Arguments

None

Flags

None

Return value

void

Examples

select Actor_1;
setPriority;
select lfoot;
// Selects the left foot bone on Actor_1
select -priority;
// Selects Actor_1
select Actor_2;
setPriority;
select lfoot;
// Selects the left foot bone on Actor_2

Additional information

Related commands