1681-engine / index / BodyType
Type Alias: BodyType ​
ts
type BodyType = "dynamic" | "static" | "kinematic";Defined in: src/physics/types.ts:41
dynamic: moved by gravity, forces and contacts;static: never moves (ground, walls); cheapest, kept in a broad phase of its own;kinematic: moved only by its velocity (a moving platform), pushes dynamic bodies and is never pushed.