First of all apologies..i'm new to this and trying to learn as i go through my project which is an interactive story.. i have created a hotspot ... I have created an animation that i want to happen when I click on the hotspot... but can't get it to happen.. any advice would be gratefully received.. i am reading the manual but can't seem to apply it to my story .. Regards Desie
Comments
I'd also recommend going over tutorial videos, that cover the basics of using AC, if you haven't already.
Animations in the Animator window can be triggered by connecting them up with transitions that take parameters - if you're new to Unity, it's important to understand this concept as Adventure Creator relies on this concept.
Once your Animator window is set up, set your Object: Animate Action's Animation engine to Mecanim, and then set your Method to either Change Parameter Value or Play Custom.
If you choose the former, you can change a parameter in your Mecanim window that - if hooked up correctly - will cause your animation to correctly. If you choose the latter, you can simply enter the name of the animation clip to play, as it appears in your Mecanim window.
The likely cause is that your animation is already the default (highlighted in yellow in the Animator window) and so will play when the game begins. You can get around this by creating an empty animation box in the same window, and making that the default instead (by right clicking).
Follow the steps I gave in my last post. Create a new (empty) state, make it the default, and then enter "BATFLAP" into your Object: Animate's Clip field.