aframe-physics-extras
Version:
Cannon API interface components the A-Frame Physics System.
11 lines (8 loc) • 292 B
JavaScript
/* global AFRAME */
if (typeof AFRAME === 'undefined') {
throw new Error('Component attempted to register before AFRAME was available.')
}
require('./src/physics-collider.js')
require('./src/physics-collision-filter.js')
require('./src/physics-sleepy.js')
require('./src/body-merger.js')