SamHDev

miner

Jan 28th, 2021
441
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pos_x = 0
  2. pos_y = 0
  3. pos_z = 0
  4. pos_rot = 0
  5.  
  6. function setRotation(target_rot)
  7.     dif_rot = (target_rot - pos_rot) % 4
  8.     print(dif_rot)
  9. end
  10.  
  11. function goTo(target_x, target_y, target_z)
  12.  
  13. end
  14.  
  15. setRotation(2)
RAW Paste Data