@name RoflCopter
@inputs Tor
@outputs RPM
@persist 
@trigger 
@model models/hunter/plates/plate2x2.mdl
#models/XQM/helicopterrotormedium.mdl
interval(10)


Tor = 110000
Ent = entity():isConstrainedTo()

Ent:applyTorque(vec(Tor,0,0))
RPM = floor(Ent:angVel():roll()/360 * 60)
Ent:applyForce(Ent:forward() * RPM * 15)

entity():applyTorque(vec(-entity():angles()))
