andreasplesch / aframe-keyframes-component

keyframe interpolation for aframe
https://andreasplesch.github.io/aframe-keyframes-component/examples/basic/
MIT License
4 stars 0 forks source link

material.opacity needs from #11

Open andreasplesch opened 7 years ago

andreasplesch commented 7 years ago

investigate. Tween seens NaN as from if not given.

Check if all .properties need from, eg. material.color

may have to do with Tween array.

andreasplesch commented 7 years ago

ok, material.color also needs from. The a-animation getAttribute may not work.

andreasplesch commented 7 years ago

https://github.com/aframevr/aframe/issues/2883 It is an issue with a-animation initialValue.

andreasplesch commented 7 years ago

Consider setting a-animation from manually to element attribute value in update().

seems to work well in glitch.