physijs-browserify
v0.0.2
Published
PhysiJS for browserify
Downloads
5
Maintainers
Readme
PhysiJS port for browserify
Include the folder libs on your project, it has ammo.js
and PhysiJS worker
Usage:
var THREE = require('three');
// inject Three.js
var Physijs = require('physijs-browserify')(THREE);
Physijs.scripts.worker = '/libs/physi-worker.js';
Physijs.scripts.ammo = '/libs/ammo.js';
For more info see https://github.com/chandlerprall/Physijs
Full example http://labs.fluuu.id/syn