Hello good day,
I have many instances of the same object class, each object has a variable called "objectType", this can have numeric values: 1,2,3, etc.
I need that when 2 objects collide with each other, to get the "objectType" of both colliding objects and if their values are the same, then do something with them.
I can detect when two objects collide using an event like:
MyObject - On collision with MyObject
But I can't get the instances that are colliding to obtain the value of their variables.
Any Ideas?
Thanks!