Comments (3)
Did some digging. The biggest performance drop comes from moving the math stuff to Float32Array.
from box2d.ts.
@flyover hi, FYI.
from box2d.ts.
In this version, there was a change to b2Body:SynchronizeFixtures that uses the center of mass instead of the transform position. This may be causing the proxy AABB's to be updated more often. I'm not sure what might be causing the GC. I recall using for..of loops for iterating in some places; perhaps this is generating garbage. I'll have to look into it further. For now, you might consider switching back to 1.0.0.
from box2d.ts.
Related Issues (20)
- This project dead? HOT 2
- Point npm box2d.ts to canonical repo @flyover/box2d
- chain shakes when dragged
- Is there has easy way to simulate with HTML canvas?
- ParticleContactListener dose not work๏ผ
- where has `SetAsArray` method gone? HOT 3
- b2BodyType enum is not getting built by tsc
- bug with newest version HOT 2
- Pitching an idea: Full blown Box2D ecosystem HOT 19
- Differences to original box2d HOT 5
- Why use import *.js in *.ts files HOT 2
- how can i use b2Separator?
- b2World::Step crashes in some cases after SetPosition and DestroyBody are called HOT 2
- I've updated my benchmark for 3 active js Physics Engines. HOT 2
- Website doesn't work HOT 2
- npm version and rgb render
- Feature Request: Implementation of b2Draw, SetDebugDraw and DebugDraw HOT 3
- Origin of Particles? HOT 1
- [Feature requested] It is very necessary to add NPM package to create links on jsDelivr, unpkg or Skypack
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from box2d.ts.