@name Mortar
@inputs Pod:wirelink 
@outputs 
@persist 
@trigger 
runOnTick(1)

local Seat = Pod["Entity",entity]
local Driver = Seat:driver()

if (first()) {
    holoCreate(1)
    holoModel(1,"hq_sphere")
    holoScale(1,vec(4,4,4))
    
    holoCreate(2)
    holoModel(2,"hq_cylinder")
    holoPos(2,entity():toWorld(vec(0,0,30)))
    holoScale(2,vec(0.5,0.5,4))
    holoParent(2,1)
}

Ang = Driver:eyeAngles():pitch()
Ang2 = Driver:eyeAngles():yaw()

holoAng(1,ang(0,Ang2-270,90-Ang-65))
