Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Kangkue |
hello sir can you help me, i don’t understand move_and_slide
function, i’ve read it in gdscript and haven’t found the answer, thanks
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Kangkue |
hello sir can you help me, i don’t understand move_and_slide
function, i’ve read it in gdscript and haven’t found the answer, thanks
Reply From: | the_maven |
When using KinematicBody2D the, move_and_slide method, works by calculating the velocity of delta and in case of collision during movement of the KinematicBody, if it will charge direction and keep moving.