- Home /
Add Weapon
Well....I just designed a weapon in google sketchup and i want to add it to unity 3d. I also want to add some special effects..Amean the range of the weapon... Amean if the character is close to the target then the bullet power should be big...if the character is far from the target then the bullet power should be small... Any ideas how to do it? Ty
Can you please try to do it yourself, and then come back here when you have specific problems with it? We're not going to write your code if you haven't shown any evidence of even having tried.
Not really an answer, but look I'd do something like set up a collision or ray cast, and then follow that by checking the distance between the player and the object hit. All of the code for this is already built and will only require two functions and then your damage function added in.
Thank you ChefZweegie And syclamoth wht do you want?$$anonymous$$e to show you all my code and say..Look! Ckeck my problems cause i cant find it??Obs i tried
Your answer
Follow this Question
Related Questions
Reloader Weapon's Bullet? 0 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Making a gun shoot 3 Answers
NullReferenceException: Object reference not set to an instance of an object 1 Answer
How to implement a delay between each time my gun fires (using coroutines or otherwise)?... 2 Answers