SimulatedHandUtils Class

Definition

C++
public ref class SimulatedHandUtils
Inheritance
SimulatedHandUtils

Constructors

Methods

CalculateJointRotations(Handedness, Vector3[], Quaternion[])

Compute the rotation of each joint, with the forward vector of the rotation pointing along the joint bone, and the up vector pointing up.

The rotation of the base joints (thumb base, pinky base, etc) as well as the wrist joint is set to point in the direction of palm forward.

Assumption: the position of each joint has been copied from handData joint positions

GetPalmForwardVector(Vector3[])

Gets vector corresponding to +z.

GetPalmRightVector(Handedness, Vector3[])
GetPalmUpVector(Handedness, Vector3[])

Gets the vector corresponding to +y.

Applies to

Produkt Versioner
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0