Why we using vector2 function in godot and move and slide function too?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why we using vector2 function in godot and move and slide function too??

14th May 2021, 8:47 AM
K S Mirthun
K S Mirthun - avatar
2 Answers
+ 1
if we are writing 2d physics, we need to store X and Y pos of that object. then we use move and slide function to move our object in that velocity.
16th May 2021, 4:27 PM
Bhavik Mahalle
Bhavik Mahalle - avatar
0
Thanks buddy
14th Jul 2021, 3:29 AM
K S Mirthun
K S Mirthun - avatar