@name Wonkavader
@inputs Forward Back Left Right Up Down N5 N0 Del
@outputs Mul XYZ:vector Hover
Mul=1200+(-600*Del)+(1200*N0)
if(N5&~N5){Hover=!Hover}
Self=entity():pos()
X3=Self:x()
Y3=Self:y()
Z3=Self:z()
Aim=owner():aimPos()
X2=Aim:x()
Y2=Aim:y()
Z2=Aim:z()
Xa=X2-X3 Ya=Y2-Y3 Za=Z2-Z3
Yaw=ang(vec(Xa,Ya,Za)):yaw()
SY=sin(Yaw)
CX=cos(Yaw)
ConF=Back-Forward
ConS=Left-Right
X1=CX*ConF+SY*ConS
Y1=SY*ConF+CX*ConS
Z1=(Up-Down)*2
XYZ=vec(X1,Y1,Z1)
