Make box tip over edge of platform

Hi

I’m trying to make a 1 x 1 x 2 box (Rolling box puzzle game) tip over the edge of a platform, but the problem I’m having is that if half of the 2 meter side is hanging over the edge it stays there, hanging half on the platform, half over the edge.

I’ve enabled Gravity and disabled controls for the box on trigger. Just can’t get the box to tip over consistently.

What is the best solution?

P.S. I’m using Playmaker, but code would help :slight_smile:

Thanks in advance.

If the box is exactly half over the edge, then it won't toggle over on its own. Not with PhysiX or in real live. If it is more than half over the edge, then it is possible, that the angular drag is high enough to prevent the movement. You can always use scripting to force the box to turn though.

1 Answer

1

Solved it by simply making the colliders a little smaller than 1 unit. Now the center of the box will always be over the edge of the platform. Not the best solution, but it works.