@name Segment aim testing
@persist [Angle]:angle
interval(50)
if(first())
{
    holoCreate(1)
    holoParent(1,entity())
    holoCreate(2,entity():toWorld(vec(25,0,0)))
    holoParent(2,1)
    holoCreate(3,entity():toWorld(vec(50,0,0)))
    holoParent(3,2)
}

Angle = mix(angnorm((owner():aimPos() - holoEntity(1):pos()):toAngle() - entity():angles()) / 3, Angle, 1)
holoAng(1,Angle)
holoAng(2,holoEntity(1):toWorld(Angle))
holoAng(3,holoEntity(2):toWorld(Angle))
