Buggy rigidbody collisions [URGENT] (C#)

My rigidbody’s collisions are acting up, and I can’t figure out why. More info, code, pics, and even a video are here:


You can store your objects x,y,z axis in a float, and you can call it as a function, and stop that function, once it hits an object, using OnCollisionEnter() and move the objects x,y,z axis -1, or +1, according to its location and rotation.

Note: I can give you an example, but it may not work as well as i plan, because im not that good at c#