Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 338 Bytes

collision.md

File metadata and controls

13 lines (8 loc) · 338 Bytes

Component used to react when the entity collides with another.

Members

on_collide

putils::function<void(entt::entity, entt::entity), KENGINE_COLLISION_FUNCTION_SIZE> on_collide;

Its maximum size defaults to 64 and can be adjusted by defining the KENGINE_COLLISION_FUNCTION_SIZE macro.