- Home /
How do I move stacked cubes in a dynamic way?
I'm making a game similar to Pancake Run, that I collect and stack objects along the way. However, my stack moves absolutely stiff. I tried using different joint types but couldn't achieve the "almost toppled" effect. For example, when I move to left, I want my cubes to swing as if they are connected. I tried using a loop to iterate through all the objects in the stack and registering the horizotnal movement from bottom to top, but since they are childs of the same parent, it didn't work. So what kind of an approach should I follow?
I watched a quick youtube video of the game and it seemed as though the food never fell over.
It looked more as if it was a animation, nothing to do with physics
I could suggest though trying a fixed joint I get the name infers "fixed" but they are not at all.
or trying to iterate bottom to top when the platform moves and moving the top object 1 unit to the side and like .5 down and then for ever bottom object subtract like .1 from the amount it should move maybe at some rotation to face to the way it is "tilting"
Your answer
Follow this Question
Related Questions
Joint (with is kinematic) work like a child, 100% fixed, without little bounces? 0 Answers
Can a jointed, non-kinematic rigidbody snap straight to a kinematic rigidbody's position? 1 Answer
network of rigidbodies cannot have more than one kinematic body and work well? 0 Answers
A question about the Angry Bots demo. 0 Answers
Disable ragdoll without changing Kinematic boolean? 2 Answers