Hello...

... if I use the following code, the event works correctly.


pXent_setcollisionflag (ent1, ent2, NX_NOTIFY_ON_START_TOUCH)
ent.event = EventImpact1;


But if I add another collision event, the bottom event is triggered in both cases.


pXent_setcollisionflag (ent1, ent2, NX_NOTIFY_ON_START_TOUCH)
ent.event = EventImpact1;

pXent_setcollisionflag (ent1, ent3, NX_NOTIFY_ON_START_TOUCH)
ent.event = EventImpact2;


What can I do so that only the corresponding event is triggered?

Thanks...