guys how to make the box move with translatelocal and can collide with another box, so that can make it reverse
Hi @Unavailable,
if you want to move a body with the regular setPosition/translate methods then you will have to use a Kinematic body. Those bodies do collide with other bodies but don’t have any mass/inertia or forces applied to them.
Check at the end of this guide:
https://developer.playcanvas.com/en/user-manual/physics/physics-basics/
1 Like
it worked thank you
1 Like