I want the cylinders not to overlap, but collide. But as shown in the Example, they do overlap instead of collide when you move one of them using ‘A’ key. Could someone please help to make it work?
It works by setting mass to 1, as shown in the PG:
However, got the following error when I tried to implement in my web application, Debugging: Syncing transform failed for node TransformNode.position.set is not a function
Seems like ‘videoFigure1.position.x -= 0.1’ is blocked by the Physics Engine, since it will move as expected when I comment out the physics related logic. PG: