You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Windows 10, Android Studio 3.4.1 compiling SDK 28, ViroCore 1_14.
Testing on Samsung S8+)
Description
I have a question about Animation Transactions. Specifically, how can I change one midstream without terminating it, as termination causes the animation to immediately snap to final state.
What I'm trying to do is animate an Object3D node to walk around (slowly) trying to stay in front of the camera. This is working to some extent, using a bunch of trigonometry and Animation Transaction (position change).
The problem is that the Animation Transaction moves the Object (linearly) to a fixed point in front of the camera, and becomes invalid when the camera itself changes position. I can't change the end position for the animation without terminating the Transaction, which teleports the Object to the original end position.
Is there any way to get inside an Animation Transaction to give it some subtler controls? There doesn't seem to be an Interpolator for non-View objects.
Reproducible Demo
Let me know if you need code (it can work with sample Andy vrx).
Thanks,
--Marc
The text was updated successfully, but these errors were encountered:
(Windows 10, Android Studio 3.4.1 compiling SDK 28, ViroCore 1_14.
Testing on Samsung S8+)
Description
I have a question about Animation Transactions. Specifically, how can I change one midstream without terminating it, as termination causes the animation to immediately snap to final state.
What I'm trying to do is animate an Object3D node to walk around (slowly) trying to stay in front of the camera. This is working to some extent, using a bunch of trigonometry and Animation Transaction (position change).
The problem is that the Animation Transaction moves the Object (linearly) to a fixed point in front of the camera, and becomes invalid when the camera itself changes position. I can't change the end position for the animation without terminating the Transaction, which teleports the Object to the original end position.
Is there any way to get inside an Animation Transaction to give it some subtler controls? There doesn't seem to be an Interpolator for non-View objects.
Reproducible Demo
Let me know if you need code (it can work with sample Andy vrx).
Thanks,
--Marc
The text was updated successfully, but these errors were encountered: