@name setang stearing
@inputs Base:entity Pod:wirelink
@outputs
@persist Offset:angle SmoothAng
@model models/hunter/blocks/cube05x05x025.mdl

if(first()|dupefinished()){
    runOnTick(1)
    Offset=ang(0,180,0)
}
if(Base:vel()){
    Wheel=entity()
    SmoothAng+=((clamp((17500/(Base:vel():length()))*(Pod["A",number]-Pod["D",number]),-45,45))-SmoothAng)*0.05
    Wheel:setAng(Base:toWorld(ang(0,SmoothAng,0)+Offset))
}
if( !entity():isFrozen() )
{
    entity():propFreeze( !entity():isPlayerHolding() )
}
