Hi!
I currently am creating blocks that can move in any of four directions and will sometimes be at rest and sometimes move depending on their behavior. The blocks would also be solid on all sides for the player. For example, I’d like blocks that could move towards one another and make platforms for the player to walk on, or for platforms to be able to fall like Donut Blocks in Mario.
Example:

creates “bridges” for player to walk across
The problem here lies in that managing collisions on these blocks has been no easy task. A player walking across them causes all sorts of weird collisions. I know here’s been a lot of virtual ink spilled about Ghost Vertices and all of the unwanted collisions they cause.
There isn’t really an easy solution I’ve found, and even less on when platforms have their own independent rigidbodies for moving. It seems one of the best fixes is using a composite collider 2d parent of all the blocks to get a collection of all the individual colliders, but this doesn’t exactly work in my scenario because since all the blocks have their own rigidbodies, it conflicts with the rigidbody being used for the parent composite collider.
Has anyone here experienced a similar problem and found a solution? It’s not a very uncommon feature in platformers so I’m surprised I’m having such a difficult time hunting down a fix!
