Rotation GetRotation( string name )

robot_2Generated
code_blocksInput

Description

The GetRotation method retrieves the rotation of a specified component or bone within the SceneModel. This method is useful for obtaining the current orientation of a part of the model, which can be used for various purposes such as animation, alignment, or physics calculations.

Usage

To use the GetRotation method, you need to provide the name of the component or bone whose rotation you want to retrieve. The method returns a Rotation object representing the current orientation of the specified component or bone.

Example usage:

SceneModel model = new SceneModel();
Rotation rotation = model.GetRotation("BoneName");
// Use the rotation for further processing

Example

SceneModel model = new SceneModel();
Rotation rotation = model.GetRotation("BoneName");
// Use the rotation for further processing