Skip to content

API Interface PhysicsCapabilities

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

Interface: PhysicsCapabilities

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

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:272


continuousCollision

readonly continuousCollision: boolean;

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


jointMotors

readonly jointMotors: boolean;

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


meshColliders

readonly meshColliders: boolean;

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

3D triangle-mesh colliders.


oneWayPlatforms

readonly oneWayPlatforms: boolean;

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

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:283

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