Question about the functions that Godot includes

Hello I am a complete newb on Coding I am trying to learn with godot but I have a doubt about the code that is include with godot to do something like… move_and_slide How can I know what is the code Behind this function… if I understand well… this kind of code is a Function pre-programmed for the godot devs to do something… but I was wondering… where is that code? how can I know how this code work to understand what I am doing with it… sometimes is not enought for me the short explanation that is in the documentation. I mean to all this kind of functions not just move_and_slide.

You can find the source code on GitHub. For instance, this is the implementation of move_and_slide() in 2D: godot/scene/2d/physics_body_2d.cpp at master · godotengine/godot · GitHub

1 Like

Thank you so much!! This awesome!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.