Page 1 of 1

Collision Mask

PostPosted: Sat Oct 09, 2004 7:29 am
by jazz_e_bob
The ability to assign an animation as an actors collision mask.

This would allow smooth predictable collisions on complex animations. It would also pave the way for isometric games where collisions should only occur with the "base" of the actor.

PostPosted: Sat Oct 09, 2004 12:37 pm
by makslane
You can do this now:

- Add a new actor (your mask)
- Add the mask animation
- On Create Actor event, add the Visibility State action
- Change the state to "Don't draw, but allow events"
- Make your "real actor" the parent actor

In your collision events, just test collisions with your mask actor

PostPosted: Sat Oct 09, 2004 9:40 pm
by jazz_e_bob
Brilliant. Thanks mate! :)