registerCharacterController2DSystem
此内容尚不支持你的语言。
registerCharacterController2DSystem(
app):void
Defined in: physics/CharacterController2DSystem.ts:102
Register the character-controller system. Runs in FixedUpdate ahead of the physics step, so the resolved Transform is what reaches a kinematic body. Movement goes through Box2D’s kinematic mover, which — unlike a generic shape cast — rests a character on the ground instead of wedging it there.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void