Collision group. Entities with the same nonzero group value
don't collide with each other when IGNORE_PUSH is set in the movement call. A7.79
0..30 (default: 0)
Through the entities' push or group value
you can determine more specifically than with PASSABLE whether
the entity will be an obstacle to another one or not. Entities with the same group value can move together and are no obstacles for each other.
- When a collision is prevented due to the push or group values of collider and obstacle, the EVENT_PUSH event function is called instead.
For ignoring a list of entity groups on collision function, use c_ignore.
my.group = 2; // runs through all entities with the same group value
c_rotate, c_trace,c_scan, c_ignore, push, PASSABLE, EVENT_PUSH