wmurphyrd / aframe-physics-extras

🔧Cannon API interface components the A-Frame Physics System
MIT License
27 stars 8 forks source link

sleepy API changes #5

Open wmurphyrd opened 7 years ago

wmurphyrd commented 7 years ago

Since the damping options are already exposed on *-body, replace those schema properties with a single dampen boolean that sets properties on the body to the sleepy ideal. Any tweaking can be done on the body component.

State may be heading towards deprecation, consider changing holdState to holdStart and holdEnd (i.e. events)