bumping this topic again, i have working bullet tracers but troubles with the origins, the beams start too far away sometimes (not always) and i want a solution for fixing this
I just put the trails in parts and add velocity to them, it’s pretty nice too
Bumping this topic because I found another good method;
Unfortunately I cannot simulate the system where there is a dot when the camera isnt moving (yet), but I have found that finding control points on a bezier curve where the last 3 positions and the current position pass through looks pretty good; Example:
In order to make it move with the camera, you have to store positions that are relative to the camera (CurrentCamera.CFrame:PointToObjectSpace for example) and then you have to get the new position by translating it back into world space and doing your calculations with that variable. If you keep updating the old p0, p1, and p2 variables with the new object space coordinates, it should work.
I would explain the math behind getting control points, but unfortunately I did this a long time ago and I just wanted to quickly show my method. It’s mainly just algebra at the core
Here’s a Desmos graph with equations and a visualization: bezier refit | Desmos