ConfusedNoob
ConfusedNoob

Reputation: 10196

Simple Javascript Physics Engine

Is there a simple JavaScript physics engine available that can handle some simple 3D scenarios.

I'm aware of the Box2D implementation but I don't think that can do what I need. In essence I want to simulate the behavior of a ball as it interacts with a hole (like putting in golf). Where, depending on the speed, the ball can spin around the hole etc.

Upvotes: 10

Views: 5285

Answers (2)

Jasper
Jasper

Reputation: 1193

There is a list of javascript physics libraries here: https://github.com/bebraw/jswiki/wiki/Physics-libraries

Upvotes: 5

MyStream
MyStream

Reputation: 2553

https://gamedev.stackexchange.com/questions/5334/do-any-open-source-javascript-3d-physics-engines-exist - this is another post on a similar topic but in stack exchange.

There are also some libraries to be found here: https://github.com/bebraw/jswiki/wiki/Game-Engines

I don't know if any are 'directly' relevant, but perhaps there's something useful and you can update if you find anything?

Upvotes: 4

Related Questions