跳转到内容

CharacterController3D

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

const CharacterController3D: BuiltinComponentDef<CharacterController3DData>

Defined in: physics3d/Physics3DComponents.ts:101

A kinematic mover for a 3D player or NPC: swept against the world rather than solved in it. Set velocity each step and read isOnFloor back; the vertical component is carried for you, so a zero there means “walk”, not “hang”.