Making parts of character unaffected by collision
Hi,
Is there any sort of way to make parts of a character unaffected by collisions or overlapping? The only way I can think of is to put the parts I don't want affected by the world as a separate object and have it follow the character around and have it permanantly stick but it will be quite a hassle given the different animations that I have and I would have to have it change animation and position for many frames.
I was thinking along the lines that there might be a tool where you could specify certain pixels to be unaffected. Thanks in advance.
Re: Making parts of character unaffected by collision
The best way would be to make separate objects for the different parts. I would recommend using the Advanced Movement Object if you're going to do this because it makes it easier to manage animations and stuff.
Re: Making parts of character unaffected by collision
You could make a separate object that acts like a collision mask...
Re: Making parts of character unaffected by collision
http://i202.photobucket.com/albums/a...llustrated.png
Here's a pic I was gonna use in an article but never got round to. It shows the kinds of detectors you can use in a platform movement. The blue one is his 'bounding box'. THIS is the player. The visible squirrel merely follows the invisible bounding box, animating when we tell him to.
This prevents him getting his tail caught or anything.
Note that in this image, the squirrel is a badguy, not the player. But the same principle applies for player movements too. For simplicity, I usually have multiple detectors stored as animations inside just one detector object. :)
Re: Making parts of character unaffected by collision
Thank you very much all! This works perfect.
Re: Making parts of character unaffected by collision
I know you already have a solution to your problem, but to those who aren't making a platform game, and want this effect, you can create an invisible box connected to the parent object using the Sticky object by Andos.