Skip to main content

Module: physics/gjk

Functions

GJK

โ–ธ GJK(a, b): GJKResult

Performs GJK collision detection between two colliders.

see GJK Explanation

Parameters

NameTypeDescription
aColliderThe first collider
bCollider-

Returns

GJKResult

A {@link GJKResult} struct containing the results of the GJK algorithm

Defined in

src/physics/gjk.ts:23