Collision listener

Started by david24, November 12, 2012, 12:04:08 PM

Previous topic - Next topic

david24

Hi,
wanted to ask about a case i have about collision listener:
can i make 2 groups of listeners, assign the same objects to them and that the object's modes will be different in these groups?
like:
Group A:
obj a.  (SELF)
obj b.  (OTHER)

group B:
obj b.  (SELF)
obj c.  (OTHER)

and so obj a' will not react to obj c'.
or am i not thinking straight?!  :-[ ..

BTW great new look for site  8) .

EgonOlsen

The modes are based on the objects, not on the listeners. Each object that has a listener assigned to it will get notified either as the source or the target of your collision. With proper choice of adding which listener to which object, you should be able to create a setup which suits your needs (whatever they may be... ;) ).

david24