physics object floating?

Hi, I have an object that has a rigidbody attached and is effected by gravity, however the object seems to not sit flush with other objects in the scene, as can be seen in the image. Shouldnt the object sit directly on top of the ground objects collider (the white object) ?

You might have selected constraints for it’s position on the RB, maybe check that?
And is this picture in play mode?

Hey thanks for the reply. None of the contraints are selected, and yes the screenshot is from playmode.

Also, in case it is any help. When I pause play mode and increase the Y position of the red cube, then unpause, the red cube falls into the same position, so gravity is working. Just seems to be that small gap

Do you mind sending a photo of your rigidbody component on the object.

8607255--1154994--upload_2022-11-23_2-56-31.png

It’s a collider you’re not showing also attached to the same RB or maybe you’ve changed the default-contact-offset in the physics settings to something huge?

How many world units is that “gap”? I don’t mean pixels. Is this box tiny and the “gap” is the normal tiny default-contact-offset?

Look at the “Contacts” (as seen above) on the Rigidbody2D and the Collider2D when it stops. Is it contacting anything.