josephg / Chipmunk-js

Port of slembcke/Chipmunk-Physics to Javascript
http://dl.dropbox.com/u/2494815/demo/Joints.html
536 stars 59 forks source link

Fix: BBTree.log() #19

Closed robwalch closed 11 years ago

robwalch commented 11 years ago

I was wondering what 'nodeRender' does, and found it was broken - probably not updated in a while. Here's the fix.

robwalch commented 11 years ago

Found some bad refs down under body.sleep(). Fixed even though it seems like a bad idea to call this. CP should be in charge or activating and deactivating bodies. It'll definitely cause issues if you do it to a body with contacts.

josephg commented 11 years ago

Good catch - cheers

josephg commented 11 years ago

Can't automerge...

robwalch commented 11 years ago

Sorry, I was missing some updates. I rebased upstream and merged.