Log in or register to post comments

Animation played automatically without triggrt

March 24, 2013 - 9:21pm #1

Hi Pros,

I hv made a really simple animated 3D Text in Unity ( I made animation using animation window)

When I run this program. The animation can play, but just played automatically without triggering the target. What is the problem?

I dont think I made something wrong here.

Can anybody give me some help?

Thx so much!!!

Much appreciate!!

 

Animation played automatically without triggrt

March 25, 2013 - 5:56am #4

Hi, have you checked that the animation flag to play automatically is set to false ?

   animation.playAutomatically = false

(otherwise the animation will start automatically at startup)

I also invite you to consult the Unity dev guide, as this is not a relevant topic of Vuforia:

http://docs.unity3d.com/Documentation/ScriptReference/Animation.html

 

Animation played automatically without triggrt

March 25, 2013 - 5:32am #3

Hi there,

So I hv to write script for playing it with trigger?

I thought it will play when I triggering. Cuz in normal camera, it will just play it automatically.

But i tried to add animation.play();

it still does not work.

 

Animation played automatically without triggrt

March 25, 2013 - 2:15am #2

Hi, how do you start the animation ? normally you should start it from the OnTrackableFound() method of your Trackable Event Handler, and pause it or stop it in the OnTrackableLost() method (see DefaultTrackableEventHandler in Image Targets sample).

 

Log in or register to post comments