Skip to content

API Interface PhysicsCapabilities

github-actions[bot] edited this page Nov 30, 2026 · 3 revisions

Interface: PhysicsCapabilities

Defined in: src/plugins/physics/runtime/backend.ts:272

What a backend world can do beyond the basics. The core warns once and does without where one is missing.

Properties

characterController

readonly characterController: boolean;

Defined in: src/plugins/physics/runtime/backend.ts:273


continuousCollision

readonly continuousCollision: boolean;

Defined in: src/plugins/physics/runtime/backend.ts:275


jointMotors

readonly jointMotors: boolean;

Defined in: src/plugins/physics/runtime/backend.ts:274


meshColliders

readonly meshColliders: boolean;

Defined in: src/plugins/physics/runtime/backend.ts:279

3D triangle-mesh colliders.


oneWayPlatforms

readonly oneWayPlatforms: boolean;

Defined in: src/plugins/physics/runtime/backend.ts:277

2D one-way colliders (one-way tiles, any 2D collider's oneWay) and dropThrough (ADR 0105, 0439).


voxelColliders?

readonly voxelColliders?: boolean;

Defined in: src/plugins/physics/runtime/backend.ts:284

2D voxel colliders (ADR 0444): the voxels shape, setVoxels and linkVoxels, so square tile maps are edited cell by cell instead of rebuilt. Absent is false.

Clone this wiki locally