@name Following Chip
@inputs
@outputs
@persist
@trigger all
runOnTick(1) #makes it run every game tick
Local = entity():pos() #The position of the chip
World = owner():pos() #The position of the thing you want it to follow, for a certain player it would be: findPlayerByName("PLAYERSNAMEHERE"):pos()
Real = World - Local #The chip uses its own set of coordinates, not the worlds so you have to take the local from the world
applyForce(Real) #this applys force to make it move, meaning it applys the force to the position of Real.