Advertisement
otorp2

Untitled

Nov 11th, 2015
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1.  
  2. extends Node2D
  3.  
  4.  
  5. var vector_a = Vector2(0,0)
  6. var vector_b = Vector2(50,50)
  7.  
  8.  
  9.  
  10. func _ready():
  11.  
  12. print(vector_a.angle_to(vector_b))
  13.  
  14. pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement