b2Shape_GetClosestPoint

Function b2Shape_GetClosestPoint 

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

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