HandProfile
public sealed class HandProfileNamespace 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.
Fields
Section titled “Fields”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.
FollowMax
Section titled “FollowMax”public float FollowMax = 90fWheel mode: the hands follow the steering wheel this far either way, then stay.
LeftWheel
Section titled “LeftWheel”public string LeftWheel = string.EmptyRim 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.
RightWheel
Section titled “RightWheel”public string RightWheel = string.EmptyRim 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.
GripStart
Section titled “GripStart”public Vector3 GripStartRight 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.
GripEnd
Section titled “GripEnd”public Vector3 GripEndRim 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.
Recovery
Section titled “Recovery”public float Recovery = 0.35fSeconds the hand takes from the end of a stroke back to its start.
RotationWeight
Section titled “RotationWeight”public float RotationWeightHow 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.
LeanStart
Section titled “LeanStart”public Vector3 LeanStartPoint the spine reaches for at the start of a stroke.
LeanStartWeight
Section titled “LeanStartWeight”public float LeanStartWeightHow strongly the spine reaches for LeanStart, 0 to 1.
LeanEnd
Section titled “LeanEnd”public Vector3 LeanEndPoint the spine reaches for at the end of a stroke.
LeanEndWeight
Section titled “LeanEndWeight”public float LeanEndWeightHow strongly the spine reaches for LeanEnd, 0 to 1.