BodyType

@three-blocks/pro
const BodyType = { DYNAMIC: 'dynamic', KINEMATIC: 'kinematic', STATIC: 'static', ZONE: 'zone', IN_REACH: 'inReach', }
Value
{ DYNAMIC: 'dynamic', KINEMATIC: 'kinematic', STATIC: 'static', ZONE: 'zone', IN_REACH: 'inReach', }

Physics body types

Example
// Platform that moves the player with it (default velocityTransfer: true)
await physics.addBody(BodyType.KINEMATIC, platformMesh);

// Multiplayer peer - solid surface but no velocity transfer
await physics.addBody(BodyType.KINEMATIC, peerMesh, { velocityTransfer: false });