Rigidbodies getting pushed around randomly

Hey everyone,

I have a serious problem with rigidbodies in my scene being affected by random forces in random directions at random times. (In Unity 3.1)

I have two sphere collider rigidbodies driving around on a large box collider with gravity enabled. There are Mesh Colliders around them that force them into a racing track. While I’m racing the cars along, they randomly get thrown backwards and sideways without having hit any other colliders.

I’m pretty sure it has nothing to do with hidden colliders or an AddForce bug in my code. I’ve seen a couple other posts on the forums about random Physics forces in Unity 3+ but there’s no answer from the developers about this.

I know this is all very vague but if you have any idea what could be causing this, I’ll gladly take the suggestions.

Thanks!

I remeber reading that the standard terrain ( collider) is not smoth.
There is an option on the terrain to smoth it.

Maybe that is your problem.

I know that you can’t rely on reading terrain normals (or other hard-edged faces) from only a collision itself, but I’ve circumvented that in my own scripts by using a raycast to double-check. The result was that flat terrain is indeed flat and smooth, but collisions don’t read normals like you’d think.

Now, that might be a whole different topic, unless the topic creator actually is reading collision normals.