How do I keep the solid objects from going through other solid objects?
If you look at the video below you'll see:
Red walls are under faded gray walls - both are set to solid
The alien is pinned to a faded blue square - both set to solid (That's 4 solids)
The alien also has the pathfinder behavior.
The collision boxes are as far out as they can go and still allow the alien to move.
I've tried to offset the alien so when it gets near the walls it moves over - nothing changed
I tried setting the pinned box to offset by several pixels - again nothing.
I tried putting image points around the alien & the walls (desperation) - nothing.
I tried to create a function that moved the alien over 45 degrees when coming into contact with the wall - nothing.
Watch the video - it's like the alien goes out of it's way to pass through everything solid - why? It's as if the word 'solid' is only a suggestion. I think it's mocking me.
Is there a fix for this?