UNPKG

@c-frame/aframe-physics-system

Version:

Physics system for A-Frame VR, built on Cannon.js & Ammo.js

14 lines (9 loc) 316 B
module.exports = { 'velocity': require('./velocity'), registerAll: function (AFRAME) { if (this._registered) return; AFRAME = AFRAME || window.AFRAME; if (!AFRAME.components['velocity']) AFRAME.registerComponent('velocity', this.velocity); this._registered = true; } };