Skip to content

HandProfile

public sealed class HandProfile

Namespace Chassis.Api

Hand targets of a seated body: on push rims, on the steering wheel or at a fixed grip. Right side; the left is mirrored.

public string Mode = "fixed"

“rim”: hands ride the push rims of two wheels. “fixed”: hands stay at GripStart. “wheel”: hands hold the steering wheel at GripStart and turn with it up to FollowMax degrees.

public float FollowMax = 90f

Wheel mode: the hands follow the steering wheel this far either way, then stay.

public string LeftWheel = string.Empty

Rim mode: name of the left wheel transform in the model.

Value A transform name below the frame, e.g. “RimPivot_L” on the wheelchair. Empty outside rim mode.

public string RightWheel = string.Empty

Rim mode: name of the right wheel transform in the model.

Value A transform name below the frame, e.g. “RimPivot_R” on the wheelchair. Empty outside rim mode.

public Vector3 GripStart

Right hand where a push stroke starts. Rim mode: from the wheel centre; fixed mode: in the frame.

Value In metres. Rim mode: offset from the right wheel’s centre, e.g. (0.04, 0.26, 0.15) on the wheelchair. Fixed and wheel mode: a point in the frame; for the wheel, about 0.17 m right of its centre.

public Vector3 GripEnd

Rim mode: right hand where the stroke ends and the hand lets go.

Value Offset from the right wheel’s centre in metres, e.g. (0.04, 0.15, 0.27) on the wheelchair.

public float Recovery = 0.35f

Seconds the hand takes from the end of a stroke back to its start.

public float RotationWeight

How strongly the hands turn to the grip, 0 to 1; 0 leaves the wrists to the animation.

public Vector3 Elbow = new Vector3(0.55f, 0.85f, -0.4f)

Elbow bend goal (right side).

Value A point in the frame the elbow bends towards, in metres: right of and behind the hand points it outwards.

public Vector3 LeanStart

Point the spine reaches for at the start of a stroke.

public float LeanStartWeight

How strongly the spine reaches for LeanStart, 0 to 1.

public Vector3 LeanEnd

Point the spine reaches for at the end of a stroke.

public float LeanEndWeight

How strongly the spine reaches for LeanEnd, 0 to 1.