@name 
@inputs Pod:wirelink CC:wirelink
@outputs 
@persist Radius
@trigger 

runOnTick(1)


Distance = 50
Angle = owner():eyeAngles()
Pos = owner():shootPos() + owner():right() * 50


CC["Activated",number] = !owner():keyUse()

if (!owner():keyUse())
{
    CamPos = Pos - vec(cos(Angle:yaw()) * cos(Angle:pitch()),sin(Angle:yaw()) * cos(Angle:pitch()),-sin(Angle:pitch())) * Distance
    CC["Position",vector] = CamPos
    CC["Angle",angle] = Angle
}
    
 
