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?
How to get some superinfo about collided obj?
-
- Posts: 44
- Joined: Mon Jan 12, 2015 1:36 pm
Re: How to get some superinfo about collided obj?
Omg sry guys i'm so stupid, just have to use inheritance XDDD