dmarcos / aframe-motion-capture-components

Capture entity motions and replay them on other entities
http://swimminglessonsformodernlife.com/aframe-motion-capture-components/
MIT License
132 stars 31 forks source link

filter out target from event.detail.state #25

Closed ngokevin closed 7 years ago

ngokevin commented 7 years ago

A bug where evt.detail.state.target was the entity, and it could not be serialized to JSON. Reproduced if I clicked ybutton on Touch.

ngokevin commented 7 years ago

Before this, state was always an empty object. Now pressed, touched, value are saved.

ngokevin commented 7 years ago

r?

dmarcos commented 7 years ago

Thanks!