Log in or register to post comments

restart character animation when target lost

April 1, 2018 - 4:04am #1

hello. 

i am making augmented reality storybook.

can you help me to restart character animation when target lost..

restart character animation when target lost

April 2, 2018 - 9:19am #2

Hello zaki7672,

This can be done by calling stop on your animation upon getting a target lost callback and then upon detecting a target replaying the animation from the beginning. If you're using Unity they have Animation systems at your disposal that have these types of controls: https://docs.unity3d.com/ScriptReference/Animation.html If you are using the native SDK, you'll either need to write your own animation system or find a library someone else wrote for this level of control.

Our samples provide examples of how to hand target found and lost within Vuforia targets.

Thanks,

Vuforia Support

Log in or register to post comments