Hello. I am trying to run a sim where a cube mesh is dropped on a
settled bed. Once it lands on the bed, we drag it in a linear direction
across the bed.
However, I have ran into 3 major issues.
1.
I'm trying to rotate the thin cube 90 degrees horizontally, but I'm not sure how I'm supposed to do so.
2. With just a settled bed,
whenever I ran the drop phase, just when my cube touches the bed- the
next frame and onwards, it flips and pivots to a corner, and does so for
the rest of the sim.
3. Tried to compress the bed to see if
it was due to uneven surfaces, and when I ran the drop phase, each frame
the cube is being dropped, the compressed bed blows up.
Here's
the code, and screenshots of the issues I'm running into. I would
greatly appreciate any pointers to what could be causing these issues.