PhysicsJS
PhysicsJS copied to clipboard
A modular, extendable, and easy-to-use physics engine for javascript
So this is the current code: require.config({ baseUrl: './', // ... packages: [ { name: 'physicsjs', location: 'path/to/physicsjs', main: 'physicsjs-VERSION.min' } ], //... }); And this is the code I...
I have done a d.ts prototype to the ones using typescript. There is a lot missing but it makes the job. I'm using it in production.
Replaces the sleepCheck condition based on a velocity limit and statistical analysis compensation with a Kinetic energy condition. It also replaces the world's limit default value.
First time trying the pull request thingy ... So any feedback would be awesome. I added basically what is already added for the Interactive Behavior. Not sure if I'm not...
the var name is missing
after calling off(true) and clearing all listeners, var listeners set in on() function is not cleared. This could cause errors when calling functions desired to be unsubscribed.