Skip to content

GripProfileData

Defined in: sdk/src/animation/gripHold.ts:32

Where a palm sits on a held object, and how its fingers are held there.

hand: number

Defined in: sdk/src/animation/gripHold.ts:44

The hand the anchors were placed for. Held with the other hand leading, both anchors are mirrored to it.


mainAnchor: number

Defined in: sdk/src/animation/gripHold.ts:34

An entity under the object whose place and turn are the leading palm’s: its origin the palm’s centre, +Z the way the fingers point, +Y the way the palm faces.


mainFingers: string

Defined in: sdk/src/animation/gripHold.ts:41

The fingers of each said joint by joint, as JSON of a GripPoseDef (an editor writes it). Over the pose by name where it is set.


mainPose: string

Defined in: sdk/src/animation/gripHold.ts:38

The fingers of each: a pose captured from a hand (registerFingerPose), or a GripPose by name.


mirror: number

Defined in: sdk/src/animation/gripHold.ts:46

The plane of the object’s own that mirrors them: the one square to its X, Y or Z.


supportAnchor: number

Defined in: sdk/src/animation/gripHold.ts:36

The same for the supporting hand. None holds the object in one hand.


supportFingers: string

Defined in: sdk/src/animation/gripHold.ts:42


supportPose: string

Defined in: sdk/src/animation/gripHold.ts:39


wrap: boolean

Defined in: sdk/src/animation/gripHold.ts:48

Whether the fingers close onto the object’s grip surfaces (GripSurface, on it or under it), each stopping where it meets one.