Question by
IzzOAI · Sep 04, 2017 at 06:44 PM ·
raycastquaternionraycasthitfps controller
BulletHole and HitSparks spawning in front of weapon
Hello guys,
I have a problem with my Raycast/BulletHole in my FireRaycast() Function.
If I shoot, it doesnt spawn my Hitsparks and BulletHole on the hitted Raycast Position. If they spawn, they spawn in die space in front of my weapon. (see pic) In this case, the console debug log tells me that I hit the FPSController...?!?
Do anybody have a solution for that?
I want that it always hits walls or the bottom and so on..
Heres a pic with the affected code:
Heres a ingame screenshot:
Thank u guys!
2017-09-04.jpg
(354.6 kB)
Comment