0.0.2 • Published 9 years ago

physijs-browserify v0.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
9 years ago

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