Question by
whytomz52 · Oct 19, 2018 at 07:56 PM ·
scripting problem
How to trigger animation?
I would like my character to change animation when made contact with an object. For example, when on the ground I want him to activate the run animation and when off the ground I want him to process the fly animation.
I am fairly new to programming games so if anyone can help me I would greatly appreciate it.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612180616im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
error CS1525: Unexpected symbol `)', expecting `(' 1 Answer
Loading external file data into Scriptable Object 0 Answers
Need help increasing GameObject speed without affecting direction OnCollision. 0 Answers
Entire Projects Corrupted by "no monobehaviour" bug 1 Answer
[SCRIPTING]Moving sky sprite with script sometimes staggers 0 Answers