API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeBodyType
Simulation role of a PhysicsBody. - `dynamic` - fully simulated (finite mass); moved by the solver once dynamics ship, and by `setTransform` meanwhile. - `static` - never moves; infinite mass. Ground, walls, level geometry. - `kinematic` - moved only by `setTransform` (game-driven); infinite mass, unaffected by contacts. Platforms, doors.
import { BodyType } from '@codexo/exojs-physics'Simulation role of a PhysicsBody.
- `dynamic` - fully simulated (finite mass); moved by the solver once dynamics ship, and by `setTransform` meanwhile. - `static` - never moves; infinite mass. Ground, walls, level geometry. - `kinematic` - moved only by `setTransform` (game-driven); infinite mass, unaffected by contacts. Platforms, doors.
"dynamic" | "kinematic" | "static"