moveAndSlide
moveAndSlide(
p,cast):MoveAndSlideResult
Defined in: physics/CharacterController.ts:157
Resolve one move: advance toward the first contact, classify the surface, then
project the leftover motion (and velocity) onto it and repeat. Velocity is slid
by the same projections so a grounded body’s downward gravity doesn’t accumulate
— the contract matches Godot’s move_and_slide.