Page 1 of 1

Collisions

PostPosted: Mon Apr 24, 2006 7:00 am
by WauloK
Are collisions based on actual pixels or a bounding box the size of the actor?
I was thinking of having an actor in my game. eg. 40x40pixels but the actual image can be 40x40 or 20x20 (eg). Will the collisions still be based on 40x40 even though 1/2 the image is transparent or does GE do pixel based collisions?

PostPosted: Mon Apr 24, 2006 12:02 pm
by DilloDude
It is pixel-based. Other actors will not collide with transparent bits.

PostPosted: Mon Apr 24, 2006 12:47 pm
by WauloK
sweet! tnx