SlideCast
此内容尚不支持你的语言。
SlideCast = (
ox,oy,dx,dy) =>SlideHit|null
Defined in: physics/CharacterController.ts:118
Sweep the character shape from (ox,oy) by (dx,dy) (pixels) and return the
nearest hit that blocks it, or null for a clear path. Self-collision and the
mask filter are the caller’s responsibility.
Parameters
Section titled “Parameters”number
number
number
number
Returns
Section titled “Returns”SlideHit | null