跳转到内容

registerCharacterControllerSystem

此内容尚不支持你的语言。

registerCharacterControllerSystem(app): void

Defined in: physics/CharacterController.ts:283

Register the character-controller system. Runs in FixedUpdate ahead of the physics step so the resolved Transform is what gets pushed into a kinematic body. Movement is delegated to Box2D’s native kinematic mover (collide-into-planes + depenetrating slide), which — unlike a generic shape cast — resolves a character resting on the ground with valid contact normals instead of wedging on it.

App

void