Basically you need to calculate the rotation required for the shot to spawn from muzzle and intersect the cameras center screen. So line trace by channel (visibility) from camera out to 10,000 cm or so (10m). If the trace hits something take that “impact point” and find the look at rotation from muzzle to that point. Otherwise use the trace end point for the find look at rotation. Make transform … pass the muzzle location to “location” and the find look at rotation as the “rotation”.
My project has 3 cams. FPP, TPP and ADS. “Projectile camera” is the camera being used at time of shot.
