- Home /
Question by
GH0STeagle · Apr 05, 2014 at 04:59 PM ·
javascriptfpsjava
Unity,How to make training Target Enemy
Hello,I want to make a Training shoot target in my fps game. i want only,when i shoot target,he play animation.Please help me,with java script code,IDK. Thanks,sorry for my bad english.
Comment
Answer by sw4g_geek · May 07, 2014 at 12:46 PM
You Should Create a model in your 3d modeling program, then import it into unity and add a collider to it. I'm a C# Native myself so I won't be able to help you with the code itself D: . It also depends on how you are shooting. If you use raycast just make it so that when raycast returns an object with a tag "Target", it knows to instantiate an animation