Problem with box collider

I have applied Box Collider to one of my object, earlier applied Rigid Body. But deactivated it. Alright. Now my assignment is working fine. But I have a small bug. When my object collides with some other object, then when it is stationary(which is standing at a way point) it is shaking. But not standing still. How to fix this bug?

Thanks in advance.

If the object is shaking, I assume that your entity is moving, but every frame it is changing its direction.

I would check on the conditions that make your entity stop, if you have missed one or more cases.

I think you might want to enable interpolation. Look at it’s rigidbody in the inspector and change the Smoothing setting to “interpolate”.