nb109

jumpInDirection

Dec 22nd, 2017
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /// @description JumpInDirection(distance, direction)
  2. /// @param distance
  3. /// @param direction
  4.  
  5. /* Creator (and original version at): https://pastebin.com/u/ShaunJS */
  6. // Teleports parent object to a spot based on given direction and distance
  7.  
  8. x += lengthdir_x(argument0,argument1)
  9. y += lengthdir_y(argument0,argument1)
Add Comment
Please, Sign In to add comment