- Home /
How do I use OnControllerColliderHit properly in c#
I need to apply damage to the enemy ai with my melee weapon . The melee weapon script . I am having a problem scripting the on controller collider hit . The apply damage script I had made out is not applying damage to the enemy ai when I shoot . I dont know exactly what the problem is . The melee script pretty long . The apply damage script is not much of a code because I dont have everything figure out on it . All is what I am trying to do is apply damage to the enemy with the same damage amount 10 like I have scripted in my melee weapon script. Help would be appreciated.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Hello, could I get some help with my inv system? 1 Answer
How to create a game with numbers? 0 Answers
How do i set 60fps with RealSense(SR300, Color Camera, FaceTracking) 0 Answers