@name Directional Restrictant
@model models/jaanus/thruster_flat.mdl
@persist E:entity Dir:vector

if(first()|duped())
{
    runOnTick(1)
    Dir = vec(1,1,0)
    E = entity():isWeldedTo()
    setName("Direction Restrictant \n"+Dir:toString())
}
elseif( tickClk() )
{ E:applyForce(-E:toWorldAxis(E:velL()*Dir)*E:mass()) }
