collides property
The collision grid: bit j of collides[i] is set when layer i
collides with layer j. A pair collides only when both rows say so.
Implementation
@ffi.Array.multi([16])
external ffi.Array<ffi.Uint32> collides;
The collision grid: bit j of collides[i] is set when layer i
collides with layer j. A pair collides only when both rows say so.
@ffi.Array.multi([16])
external ffi.Array<ffi.Uint32> collides;