Masterchoc

Untitled

Jan 6th, 2018
136
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     seek: (target) ->
  2.         @seeking = true
  3.         focus = target.position.subtract @position
  4.         focus.setLength @maxSpeed
  5.         focus.subtract @velocity
  6.  
  7.  
  8.     applyForce: (force) ->
  9.         @acceleration.add force
RAW Paste Data