How to get some superinfo about collided obj?

Post Reply
Chaz
Posts: 44
Joined: Mon Jan 12, 2015 1:36 pm

How to get some superinfo about collided obj?

Post by Chaz »

Yo. An object has a field around himself, if some object collides with that field we can take info about this object. But how to connect that object to another object?
For example, I want set unique ID for all objects that could be collided, and when it collides I want check its ID. How I can do it?
Chaz
Posts: 44
Joined: Mon Jan 12, 2015 1:36 pm

Re: How to get some superinfo about collided obj?

Post by Chaz »

Omg sry guys i'm so stupid, just have to use inheritance XDDD
Post Reply