aframe-curve-component
aframe-curve-component copied to clipboard
A-Frame 1.1.0 Compatibility
These updates restore functionality for A-Frame 1.1.0, I have not tested on 1.2.0.
- Pass point position to
.getWorldPosition - Use console warnings instead of uncaught errors to prevent crashes
- Pass only
data.colorto THREE.LineBasicMaterial - Use
.getObject3D()instead of.getOrCreateObject3D()
Hi @kotavy, thank you very much for your contribution. It's been a while since I was actively maintaining this repository and I won't find any time soon to do so. So I've invited you to both this and aframe-alongpath-component as co-maintainer so you can merge and update as you like. Let me know your npm user, so I can give you access to publish the package as well - if you'd like to do so of course.