kripken / ammo.js

Direct port of the Bullet physics engine to JavaScript using Emscripten
Other
4.13k stars 556 forks source link

How to learn to use ammo.js #377

Open zhanilyasov opened 3 years ago

zhanilyasov commented 3 years ago

I'm new to the field, where can I learn how to use the plugin

willeastcott commented 3 years ago

Ammo is a port of Bullet to the web. So I would recommend starting by reading the Bullet User Manual:

https://github.com/bulletphysics/bullet3/blob/master/docs/Bullet_User_Manual.pdf

Then, browse the example code:

https://github.com/kripken/ammo.js/tree/main/examples

You might also want to check out engines like PlayCanvas that allow you to set up Ammo simulations with an easy-to-use visual editor:

zhanilyasov commented 3 years ago

Thanks

8Observer8 commented 2 years ago

Tutorial by Blue Magnificent

Book by Chris Dickinson: Learning Game Physics with Bullet Physics and OpenGL

I created this demo using the resources above:

182031433-cdd7145c-1957-4d53-97d4-9a0c670a2966

alvarobyrne commented 1 year ago

Hello people

It's not as direct as you/some may want but I have learned a lot from looking into the code from enable3d, ammo.js framework wrapper