DisplayBrushPart and Collision

Find quick help here to get you started with Hollywood
Post Reply
tolkien
Posts: 195
Joined: Sun Oct 17, 2010 10:40 pm
Location: Spain

DisplayBrushPart and Collision

Post 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.
User avatar
airsoftsoftwair
Posts: 5848
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: DisplayBrushPart and Collision

Post by airsoftsoftwair »

Just compute the boundaries of the visible rectangle yourself and then use Collision() with type #BOX. Shouldn't be very difficult.
tolkien
Posts: 195
Joined: Sun Oct 17, 2010 10:40 pm
Location: Spain

Re: DisplayBrushPart and Collision

Post by tolkien »

yes Andreas, I use that but i thought could be other method.

Thanks friend!
Post Reply