It's this line...
SetEntityAngles(CameraPivot, 0, EntityYaw(Camera), 0)
Your are setting the camerabody's angular momentum to a value based on the camera yaw.
Just comment out that line and the camera will stay still.
SetEntityAngles(CameraPivot, 0, EntityYaw(Camera), 0)
Your are setting the camerabody's angular momentum to a value based on the camera yaw.
Just comment out that line and the camera will stay still.