Module: physics/gjk
Functions
GJK
โธ GJK(a
, b
): GJKResult
Performs GJK collision detection between two colliders.
see
GJK Explanation
Parameters
Name | Type | Description |
---|---|---|
a | Collider | The first collider |
b | Collider | - |
Returns
GJKResult
A {@link GJKResult} struct containing the results of the GJK algorithm
Defined in
src/physics/gjk.ts:23