Skip to content

PhysicsHandle

Defined in: packages/engine/src/gameplay/physics/traits.ts:88

Property Type Description
actors Map<Entity, PhysicsActor> A kinematic capsule per actor, made the first step it moves.
bodies Map<Entity, RigidBody> A body per entity with a Collider, made the first step it is seen.
hulls Collider[] -
obstacles MeshBVH | null The bake the hulls stand for, so a new bake is told from the old by reference.
placedAlone Entity | null The one actor whose lone moves are all that was set in place since then, or null: her own casts leave her out, so her next lone move needs no refresh.
placedSinceStep boolean Whether a body was set in place since the Rapier world last stepped, where the sweeps’ queries do not see it yet.
surface GroundSurface The ground the heightfield was sampled from, so a new map is told from the old by reference.
unsubscribers () => void[] The koota subscriptions the handle made, dropped when it is freed.
world World -