- Home /
Problems with raycast accuracy
Hi everyone! I have problems with a raycast accuracy. It's must instantiate blood prefub when it's hits a collider, but it's missing, and it's recognizes a collider in air, where is no any colliders. As you can see on the picture, raycast hit's on the left of the collider, and he think that he hit hand, but in fact it missed:
Anybody knows ,what's happening and how to resolve it? Thank you!
from the screenshot and what you're saying it's hard to tell if anything was hit at all. Was that a hit at all or not? $$anonymous$$ake dead sure the Debug.Ray matches the raycast.
Yes, it was hit. Debug ray is mathes the raycast, because blood appeares( blood appeares only when the main ray hits )
Also, I discovered, that it's somehow connected with animation of the character
Answer by Oyshoboy · Apr 04, 2017 at 06:49 AM
Guys , resolved that stuff by changing an Update Mod in animator from "normal" to "animate physics".
That's solve my issue!