InterfaceTypes & Utilities@public
PhysicsBodyDocumentV1
Version 1 body document linked to a stable game entity id.
ts
export interface PhysicsBodyDocumentV1Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
allowSleep | - | boolean | - |
continuousCollision | - | boolean | - |
entityId | - | string | - |
extensions | - | JsonObject | - |
filter | - | PhysicsFilterDefinition | - |
fixedRotation | - | boolean | - |
gravityScale | - | number | - |
id | - | string | - |
kind | - | 'flixel-pixi-physics-body' | - |
material | - | PhysicsMaterialDefinition | - |
schemaVersion | - | 1 | - |
shapes | - | PhysicsShapeDefinition[] | - |
type | - | 'dynamic' | 'kinematic' | 'static' | - |