cast Mover
expect fun castMover(mover: Capsule, translation: Vec2, filter: QueryFilter = QueryFilter.Default): Float
Cast a capsule mover and return the closest hit fraction. This is a simplified query for character movement.
Return
The closest hit fraction (1.0 if no hit)
Parameters
mover
The capsule mover
translation
The desired movement translation
filter
Query filter to select which shapes to test