GjkCollisionResult:

normal: Vec2

The direction the first shape needs to be moved to resolve the collision

distance: number

The distance the first shape needs to be moved to resolve the collision

kaplay logo

Misc