Open macco-chewy opened 5 years ago
Hey dude! maybe the animation is doing well, but you have to notice the position [x,y,z] is on meters, so... if you specify the initial position (on the Viro3DObject Node) at [0,-3,-10] and the final position (on the animation), you couldn't visualize all the animation. Try with positioning the object near your camera z=0 and moving the object over the x axis: from x=.2 to x=-.2 Cheers! PS: I'm kind of new on this, but I'm doing my best to learn and share any help as possible :)
Environment
Please provide the following information about your environment:
Description
I am attempting to register an animation on a Viro3DObject, but it does not seem to animate. Instead, the object is rendered with the final values from the animation configuration. For example, if my object is defined with an opacity of 0 and an animation that changes that opacity to 1, then the object is immediately rendered with an opacity of 1. This tells me that the animation is linked correctly.
I've tried applying animations directly to my object and also to a ViroNode wrapping my object as suggested in https://github.com/viromedia/viro/issues/248#issuecomment-385126647. Neither approach works.
Reproducible Demo
Here is a code sample. Note that I've added console logs at the beginning and end of the animations. The datestamps appear in my console logs and confirm that the animation has been triggered and lasts for approx 5 seconds.
I'm hoping I've just dotted a t or crossed an i. Any help would be greatly appreciated. And, please let me know if I can provide any additional information.