achieve accuracy
do you mean the bullet drop? Use parabola or similar equation graph.
so that it follows your raycast
Follow the parabola graph then fire short raycast ray which origin is on the graph(the point should be at the middle of the ray, but that is too little detail, better just ignore it) and direction from slope of parabola at that point.
with the tracers
Either do projectile bullet with trail that follow bullet like you already done it. Or if it is hit scan, I think it is better to do shader stuff.
match the player's head the rotation seems to be ignored?
Because Spatial.rotation
return local rotation, which I think you rotate body object and head follow its parent. So when body is rotated, the local space
head is still not rotate. Use world space for rotation reference Spatial.global_transform.rotation
. And rotation I think it is better to use camera rotation if it is fps
or tps
or if it is top down
, direction of character to mouse.
where I post a question and then find the answer online
You research before you post and still research after post, sometime you just miss something from your research, do not gonna blame you and this question is not common; on the other hand, if you don't do research and ask really common question...
Need to refind my keyword searches because Godot 3D vs Godot brings up some quite different results
Not true, no need to refine. This result might be found in later page. But to do is to remember more keyword you found and search them in order with priority that you think which one might yield better result.
Oh yes, found a much better tutorial for my needs
This tutorial is 2d, right? And your project is 3d. Did you adapt from tutorial? Nice job.