planck.js icon indicating copy to clipboard operation
planck.js copied to clipboard

applyForce applyLinearImpulse waste time applying a zero force

Open bobcgausa opened this issue 4 years ago • 2 comments

the other force functions do not exhibit this behavior select examples 2 and 5 from the following iforces constant motion tutorial https://editor.p5js.org/Bobcook47/sketches/dl63nTD8q

observe that velocity is continuously updated even when the object is stopped

and a mystery, at least to me observe that when the box collides with the vertical wall on either side, its angle transforms to 0.02 and never changes?

bobcgausa avatar Apr 23 '21 16:04 bobcgausa

I wasn't able to see the problem in your example

shakiba avatar Apr 24 '21 04:04 shakiba

image note that the -0.00 values flicker

Toby222 avatar Apr 26 '21 13:04 Toby222