Topic was automatically imported from the old Question2Answer platform.
Asked By
redstonecreeper8
I’m using the move_and_slide() function for my player character. The only issue with this is that it only takes global co-ordinates - if I add to the y value, the character falls down relative to the entire world when I want him to fall towards his own “down”. How is this possible?
Are you talking about when the KinematicBody2D is rotated?
when you use the move_and_slide() function, it takes 2 arguments. The movement vector, and the up direction. If I am correct, you need to change the up direction if you want the character to fall differently. hope it helps =)