Attaching Camera to Projectile

Seems very similar to calccamera, try to insert this at the start of the function updatecamera:

if (override_camloc != vect(0,0,0)
{
OutVT.POV.Location = override_camloc;
OutVT.POV.Rotation = override_camrot;
return;
}

In this case the two override variables needs to be declared in the camera class, and get a reference from the projectile class to be able to modify.

Or declare the variables in the player class and then in the updatecamera function read the variables from there, using “yourplayerclass(getalocalplayercontroller().pawn)” and storing in a variable, for example.