Physijs brint a very easy to use user interface into the Three.js framework. It is ideal suitable for the creation of a 3D configurator. One of the reasons that Three.js is so popular is that it’s so incredibly easy for graphics novices to get into 3D programming. Physijs takes this philosophy to heart and makes physics simulations just as easy to implement. In fact, there are only five simple steps that need to be taken to bring a 3D scene to life.

Physijs game designer

How does Physijs work?

Physijs is based on ammo.js (although there is also a cannon.js branch) and runs the physics simulation in a separate thread to avoid affecting the performance of your application and reduce your 3D rendering time.

Great efforts have been made to keep the code style the same when using Physijs. Apart from updating the position of an object, all normal Three.js conventions remain unchanged. If you are used to Three.js, you already know how to use the Physijs plugin.

Who is it for?

Hopefully for you. If you are familiar with Three.js and want to add physics to your scene, this is the plugin of your choice. No fooling around with shape definitions, holding objects in place, or identifying collisions – just use a few Physijs objects instead of Three.js and you’ll automatically have a dynamic environment.

Erhöhen Sie Ihr Verkaufsvolumen.

Mit unseren 3D-Konfiguratoren erreichen Sie mehr kommerziellen Erfolg auf Website..

If you need (or want) a function that isn’t already included, add it to the Issue Tracker or implement it yourself and send a pull request.

Features:

  • Support for multiple object shapes, including convex objects and height fields.
  • The material system provides easy control over friction and bounciness.
  • Integrated collision detection and events.
  • Composite objects using the hierarchy system in Three.js.
  • Complete constraint system with point, hinge, degree of freedom and more.
  • Vehicle Systems
  • Rotations with Euler or Quaternion systems – your preference.
  • Seamlessly built on Three.js to maintain the same convention and coding style.

In the future:

  • Complete Documentation
  • Decomposition of concave forms

Thank you very much for your visit.