schteppe / p2.js

JavaScript 2D physics library
Other
2.64k stars 330 forks source link

Static body integrate and aabb update #293

Open ekantor opened 7 years ago

ekantor commented 7 years ago

Hi! Why body.integrate does not return if body is static? And if it should run, does it needed to set aabbNeedsUpdate=true ? I ask beacause, in broadphase, half of the time is spent by calculating aabb. Thanks!

schteppe commented 7 years ago

Hi, I'm pretty sure this bug is already fixed. Pull down the latest changes and rebuild?