Edit

Share via


SimulatedHandUtils Class

Definition

public ref class SimulatedHandUtils
public class SimulatedHandUtils
type SimulatedHandUtils = class
Public Class SimulatedHandUtils
Inheritance
SimulatedHandUtils

Constructors

SimulatedHandUtils()

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