Hey reader
Ive been trying for weeks now to get some basics or at least what i thought were basics down but im having so much trouble its becoming tedious.
I am trying to create a projectile based bullet system and what i mean by that is that i want only the hit of the physical projectile to be the damage causer, i dont want to do the “projectile for show” but hit by line trace method.
I can cut to the chase straight away and ask if someone could point me to a good example of this kind of projectile so that i might better understand how it is done. Every video i have seen so far always starts with the words “Simple example” or just does not fit the description of what I am after.
Thank you very much!
For anyone interested in what i have tried so far, here is a little outline of my fail:
If you look at this image:
(NOTE: after i took the 2 shots i moved up on the target)
You will see a couple of trace lines;
The red trace lines are the trace from the Muzzle to the Camera forward * 10000
The projectile is then launched by impulse by the same Camera forward * 10000
The yellow / orange line is the projectiles trace
Sometimes it hits, sometimes nothing as you see in the image there should have been 2 but there is only one and i have no idea why.
I really need a tutorial that is projectile focused and better still deals with first and third perspective (as the projectile hitting near where the cross hair is pointing is another world of ■■■■!)
I hope i explained myself well and that someone can point me in the right direction (pun intended)
Thanks