3 ms·
It looks like the stroke/border is not taken into account in the physics simulation.
by 1e1a 7mo ago
It looks like the stroke/border is not taken into account in the physics simulation.
- LoganDark 7mo agoThis can be fixed by: for (let re of rects) { push(); translate(re.body.position.x, re.body.position.y); rotate(re.body.angle); - rect(0, 0, re.w, re.h, 2); + rect(0, 0, re.w - 1, re.h - 1, 2); pop(); }