- Home /
Rigidbodies getting stuck in non moving objects
This has not been a problem before, but in every project I have this happens. I know how rigidbodies work, but when they fall on another object, they fall a few units into the object, as if the other object has a collider smaller than listed.
I tried a few solutions, but the only thing I can do to counteract it is to make the objects collider bigger.
$$anonymous$$ay be its beacuse of your scaling.try keeping the scaling approximate to realworld scaling by one.Example for the cylinder you selected,scale is like this X=0.1f,Y=0.005f,Z=0.1f.
$$anonymous$$eep the scaling like X=1.0f,Y=0.05f,Z=1.0f
The object most likely stops moving the frame the objects' volumes intersect, so it could be sticking into the other object anywhere up to the speed of the object. I usually set an object to its previous position when it collides (for convenience - a sliding algorithm looks better).
you could try the option is kinematic. and use uniform scaling so everything will be batched and you can up the calculation of the physics to continues that might help as-well