Skip to main content

solve_planes

Function solve_planes 

Source
pub fn solve_planes<V: Into<Vec2>>(
    target_delta: V,
    planes: &mut [CollisionPlane],
) -> PlaneSolverResult
Expand description

Solve the translation that best satisfies the supplied mover collision planes.

The push field on each collision plane is updated in place by Box2D.