So…
BASICALLY
I understand rays, or I think I do, as a method of basically measuring a hitscan’s travel.
But how would I measure a projectile’s travel?
For example, if I wanted to fire a Hanzo arrow and message me the coordinates of where it landed.
So…
BASICALLY
I understand rays, or I think I do, as a method of basically measuring a hitscan’s travel.
But how would I measure a projectile’s travel?
For example, if I wanted to fire a Hanzo arrow and message me the coordinates of where it landed.
Ray cast or rays aren’t a measure of hit scans travel but instead, at least I think, they are just where your eye/cursor is on and where it hits if a line were created from u to where the cursor is hitting. To measure a hanzo arrow, there isnt a way but people have made complicated workshop modes to do it. I cant find it anymore but on youtube, there is a video where someone made it and in the comments is the code.
For Projectles in general especially if their trajectory would curve or form a parabolic path under certain conditions which rely on launch acceleration, launch angle, velocity and gravity constant you could check some Trajectory Formulas or special Physic programming code samples on the net, they are very helpful or follow @GalaxyRebrn advise to search for that youtube video, if i remember correct something like that for Ana’s Nade trajectory was presentated and showcased on KarQ’s channel a year ago, maybe you mean that example.