@name Wired rollermine
@inputs 
@outputs Detonate XYZ:vector Vel:vector
@persist 
@trigger
@model models/expression 2/cpu_controller_nano.mdl 
Time=100/1000
interval(Time*1000)
O=owner()
Detonate=O:keyUse()
E=entity():isConstrainedTo()
Speed=400
S=vec(Speed,Speed,0)
XYZ=O:aimPos()
#E:applyForce(Speed*(XYZ-(E:pos()-vec(0,0,E:pos():z())))-E:vel()*E:mass())

Vel=clamp((XYZ-E:pos())/Time,-S,S)
E:applyForce(E:mass()*(Vel-E:vel())*vec(1,1,0))


