Hi all,
I created a floor with custom geometry collision shape, and few rigid bodies.
I noticed that all bodies are vibrating while on floor, relative to gravity force (the stronger the gravity - the bigger the shake). If I disable gravity, or reduce it by a lot, vibrating stops (but then not enough gravity…).
Any idea what could be the problem and how to fix it?
This is how I create the bodies:
var rigidBody = rigidBodyContainer.CreateComponent<Urho.Physics.RigidBody>();
rigidBody.SetAngularFactor(new Vector3(0, 0, 0));
rigidBody.Mass = 75;
rigidBody.Friction = 5f;
rigidBody.Restitution = 0f;
rigidBody.SetCollisionLayerAndMask((uint)collisionLayer, (uint)collisionMask);
Gravity vector is
new Vector3(0, -450, 0)
Less than that is too slow. Is this a sign my scene is too big btw? Or a normal value?
Thanks!