UNPKG

@c-frame/aframe-physics-system

Version:

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

22 lines (17 loc) 466 B
module.exports = { INIT: 'init', STEP: 'step', // Bodies. ADD_BODY: 'add-body', REMOVE_BODY: 'remove-body', APPLY_BODY_METHOD: 'apply-body-method', UPDATE_BODY_PROPERTIES: 'update-body-properties', // Materials. ADD_MATERIAL: 'add-material', ADD_CONTACT_MATERIAL: 'add-contact-material', // Constraints. ADD_CONSTRAINT: 'add-constraint', REMOVE_CONSTRAINT: 'remove-constraint', // Events. COLLIDE: 'collide' };