struct VG_Coll
Structure for returning a collision.
ELEMENTS
int type | Collision type: one from VG_COLL_TYPES |
unsigned int tag | Collision-tag |
unsigned int instanceid | Instance-ID of object collided with |
const char *objid | Object-ID of the instance-ID |
int side | Hit side(s): VG_COLL_SIDES (bitwise or'ed) |
int percent | Overlapping in percent (distance of both center-pixels) |
SEE ALSO