I'm having trouble with a pinned object travelling through solid blocks.
I have a character ("Mot") with Platform Behavior. When Mot runs into a Solid "Block", he stops (as would be expected).
Now, Mot can attach different "Legs" that can do different things (move faster, jump higher etc). If you press Space while Mot is touching a set of "Legs" (the green rectangles), then "Mot" is pinned to "Legs", his Platform Behavior is disabled, and the "Legs" Platform Behavior stops ignoring input (if Mot already has Legs, then pressing Space will make him dismount):
Which looks like this:
The problem is, now that Mot is attached to Legs, the Mot sprite no longer interacts with Solid objects:
If I let Mot keep the Platform behavior enabled and just Ignore Input, the pinned sprites shudder against each other.
I have considered making the Legs sprites big enough to cover the whole of the character, but that seems a little excessive, and it seems like there is something simple that I am missing.
Any ideas what the problem might be? Or am I going about the whole thing the wrong way? Should I keep the platform movement on Mot (but have him somehow suspended off the ground)?
Any help would be appreciated. Cheers.