- Home /
Question by
Neebz · Dec 16, 2017 at 10:40 PM ·
gameobjectrigidbodyforce
Game objects sliding when frozen z-axis?
Hi,
I'm currently working on a physicsbased game, and I have run into a problem. I have a bunch of cubes stacked on top of each other, with their rigidbodies frozen on the z-axis. However, whenever I run the game, these objects start to slide off of each other, which only happens when the z-axis is frozen. I have currently tested all of my code, and none of it seems to be the problem... Anyone who knows why this is?
Edit: I have a feeling it is caused by the gravity force, trying to make up for the inability to move on the z-axis, and therefore adding a force on the x-axis instead, but I could be wrong, and have no idea how to solve it.
Comment