Basic question: 2 rigid bodies with collision just clip into each other

https://playcanvas.com/editor/scene/873454

new to canvas and I’ve seen this posted before and I followed all those fixes, yet I still have an issue. I have 2 boxes and a plane. All 3 of these have rigid bodies and collisions. The 2 boxes have dynamic rigid bodies.

I set them a little higher so I can see them fall onto the plane, which they do. So I know they have rigid bodies and collision. For some reason though, I can move my red cube into the grey one.

kind of stumped

You are using the entity translate functions which doesn’t move the rigid body in the physics simulation. If you are looking to move rigidbodys, you have to use the rigidbody functions to move it. This means using forces and velocity.

Ahh thanks, ill give that a try later on