Skip to content

GripSurfaceData

Defined in: sdk/src/animation/gripContact.ts:24

The fields of the GripSurface component.

center: Vec3

Defined in: sdk/src/animation/gripContact.ts:29

Its middle, in the entity’s own units.


direction: number

Defined in: sdk/src/animation/gripContact.ts:27

The axis a cylinder or capsule runs along, of the entity’s own: 0 X, 1 Y, 2 Z.


height: number

Defined in: sdk/src/animation/gripContact.ts:33

A cylinder’s or capsule’s whole length, ends included.


radius: number

Defined in: sdk/src/animation/gripContact.ts:31

A cylinder’s, capsule’s or sphere’s radius.


shape: number

Defined in: sdk/src/animation/gripContact.ts:25


size: Vec3

Defined in: sdk/src/animation/gripContact.ts:35

A box’s size.