setArticulationStage

fun setArticulationStage(articulationStageKey: String, value: Double)(source)

Sets the current value of an articulation stage. After setting one or multiple stage values, call Model.applyArticulations() to cause the node matrices to be recalculated.

// Sets the value of the stage named "MoveX" belonging to the articulation named "SampleArticulation"
model.setArticulationStage("SampleArticulation MoveX", 50.0);

Parameters

articulationStageKey

The name of the articulation, a space, and the name of the stage.

value

The numeric value of this stage of the articulation.

See also