Skip to main content

b2Shape_GetClosestPoint

Function b2Shape_GetClosestPoint 

Source
pub unsafe extern "C" fn b2Shape_GetClosestPoint(
    shapeId: b2ShapeId,
    target: b2Pos,
) -> b2Pos
Expand description

Get the closest point on a shape to a target point. Target and result are world positions. todo need sample