Skip to content
Advertisement

Tag: physics-engine

JavaScript, Matter.js: Increase radius of circle

I have a small example script, where I have a circle (radius:40), which falls down to the ground. But when I increase its radius to 80 then, only the graphics of the circle seem to change, but not the physics: Answer My guess is that with your approach you also have to call World.add(engine.world, circle) again and possibly remove the

Advertisement