Page 1 of 1

DisplayBrushPart and Collision

Posted: Wed Jan 04, 2012 9:44 pm
by tolkien
Is there a form that the collision command affect only to the part of brush and not to the entire brush?
I mean...I have some brush in a picture that conform an animation of my, for example, ship and I go changing the brush image with the command DisplayBrushPart but the Collision command affect at the whole picture and not only the selected one.

I hope I have explained it more or less.

Re: DisplayBrushPart and Collision

Posted: Thu Jan 05, 2012 11:20 am
by airsoftsoftwair
Just compute the boundaries of the visible rectangle yourself and then use Collision() with type #BOX. Shouldn't be very difficult.

Re: DisplayBrushPart and Collision

Posted: Thu Jan 05, 2012 2:04 pm
by tolkien
yes Andreas, I use that but i thought could be other method.

Thanks friend!