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.
RimRadius
Section titled “RimRadius”public float RimRadiusAdded in 1.5.0
Wheel mode: radius of the steering wheel’s rim, from the steering pivot to the middle of the rim. Above 0 the hands close around the rim at GripAngle: palm on the rim, fingers around it, thumb on the inside, and GripStart and RotationWeight are not used. 0 keeps the wrists at GripStart with the fingers as the animation leaves them.
Value In metres, e.g. 0.18 on a car wheel 0.39 m across. ChassisApi.FitSeat measures it from the wheel’s mesh.
RimThickness
Section titled “RimThickness”public float RimThickness = 0.03fAdded in 1.5.0
Wheel mode: thickness of the rim the fingers close around.
Value In metres, e.g. 0.03.
RimOffset
Section titled “RimOffset”public float RimOffsetAdded in 1.5.0
Wheel mode: how far the rim’s middle sits from the steering pivot along the column, towards the driver, in metres. 0 when the pivot is the rim’s centre; set it when the pivot sits at the hub behind the rim.
GripAngle
Section titled “GripAngle”public float GripAngleAdded in 1.5.0
Wheel mode with a RimRadius: where the right hand holds the rim, the left one mirrored.
Value Degrees from level towards the top of the wheel: 0 holds it at quarter to three, 30 at ten to two, negative below.
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.