@name ApplyTorque TEST v2
@inputs  W S 
@outputs RPM 
@persist 
@trigger 
@model models/props_phx/wheels/magnetic_small_base.mdl
interval(100)

if(W & !S)
{entity():applyTorque(vec(0,0,900000))}


if(S & !W)
{entity():applyTorque(vec(0,0,-95000))}


RPM = entity():angVel():roll()

#(soundPlay(100,0,"vehicles/airboat/fan_blade_fullthrottle_loop1.wav"))
#soundPitch(100,40+RPM/6)
