Fire input

Post Reply
CharlesVane
Posts: 2
Joined: Wed Jul 01, 2020 5:41 pm

Fire input

Post by CharlesVane » Tue Oct 27, 2020 1:54 pm

Hello, I have added a trail to the shots to see the path of the bullets, but when I press the (getmouse (0)) the trail occurs before the firing animation, I am looking for the input "fire" to be able to put a small delay, where can I find that "fire" input? thanks :)

User avatar
themars2011
Site Admin
Posts: 67
Joined: Mon Dec 02, 2019 8:59 pm
Location: Germany
Contact:
themars2011’s avatar
Loading…

Re: Fire input

Post by themars2011 » Thu Nov 05, 2020 10:34 pm

You should put this in the FireRaycast / FirePhysicalBullet functions in Kit_ModernWeaponScript instead. That way you can also account for bullet spread.
Asset links posted by me may be affiliate links using the Unity Affiliate Program and yield a small amount of share at no additional cost for the buyer should a purchase be made.

Post Reply