Log in or register to post comments

Animated object disappears when outside of the camera's view

November 5, 2012 - 4:56pm #1


I am using Unity 3.5.6f4 with Vuforia SDK for a while now and I am having a blast with your AR SDK. For a while now it had filled all my purposes until today that I found some strange problem. My use-case is to project animated characters in top of the trackables and sometimes their animatios make them go outside of the trackable, that's not a problem while you don't use trackability of course.

Today something odd occured, you see, I had a special character that has an animation that makes it go outside the trackable in a motion A->B, B->A, where A is the trackable and the paths between the two points are covered with a running animation of the character. If I point the camera in a way that I can see both points A and B I can see the character going back and forth the 2 points, the problem appears when I don't do this, i.e. I point the camera to the trackable, the character appears via AR and goes from A to outside the camera view ( presumabely to B ), after this I don't get the returning animation, I don't see the character arriving on the trackable. I just have the character appearing above the trackable after a while without the returning animation being played.

I passed the last days trying to debug this and I am very sure that I am not losing trackability and that the rendered object is still enabled.
Below you have the pastebin of the Trackable Event Handler that is associated with this ImageTarget:

Thanks for your time. Best Regards,
Joel Oliveira

Animated object disappears when outside of the camera's view

November 7, 2012 - 4:45am #3

Glad you fixed the problem

...and thanks for sharing :)


Animated object disappears when outside of the camera's view

November 6, 2012 - 8:28am #2

For the ones that are getting to my thread let me tell you that I resolved this problem.

It wasn't a Vuforia problem, it was only a configuration on Unity that I missed. More info here : http://docs.unity3d.com/Documentation/ScriptReference/Animation-cullingType.html

Thanks for your time. Hope it helps someone.
Best Regards,
Joel Oliveira

Log in or register to post comments