Graphics Reference
In-Depth Information
• How to add constraints to your object. This makes it possible to constrain the
movement of an object around an axis (like a slider), a joint, or even another
object. More information on this feature can be found at https://github.com/
chandlerprall/Physijs/wiki/Constraints .
Physijs uses an external physics library for all the calculations. For more information
on that engine, look at the ammo.js website ( https://github.com/kripken/ammo.js/ ) .
Note that ammo.js itself is a JavaScript port of the Bullet physics engine. So, if you
really want to dive into the details, you should look at the Bullet documentation that
can be found at http://bulletphysics.org/wordpress/ .
See also
• If you don't want to include a complete physics engine inside your project,
you can also simulate parts of a physics engine yourself. How to add basic
collision detection to your scene is explained in the Adding a simple collision
detection recipe.
Search WWH ::




Custom Search