- Home /
Question by
RevolutionNow · Jun 16, 2014 at 04:59 PM ·
raycastanimatortags
Detecting tags on an animated gameobject
I added a ragdoll to my Enemy game object and changed all the colliders tags to "Enemy". I have a script that basically uses a raycast to see if an object has the tag "Enemy" if it does my cursor are going to turn red. It works except when I give the game object an animator. Then the cursor starts blinking for a while until the cursor turns white(the default color). I hope you understood my problem, thanks!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613151703im_/https://answers.unity.com/themes/thub/images/avi.jpg)