- Home /
sticky cubes and cubes sticking to each other on moving platform
Hi there
I am making a game, where what I want is this:
we have stairs of moving platforms going back and forward.
a cube will stick to a moving platform, but when the platform on the stair above hits the cube, the cube must follow along and then stick to the platform its sitting on when the above platform moves away again.
other cubes will be able to stick to each other and move with the platform.
I am interested in hearing how this can be done, since we are dealing with 3 things.
sticking to moving platforms
applying forces from outside will move the cubes
cubes sticking to each other ( they are snapping in place)
The way this is currently done is by using parenting to the platforms and fixedjoints on the cubes after they have been snapped. it explodes alot.
would like to hear other suggestions of more stable or right solutions.
thanks