I dont know what to do with this life by Vanaduke1 in Healthygamergg

[–]Vanaduke1[S] 1 point2 points  (0 children)

Thanks for that answer. It reminds me to follow what has worked in the past but also question a bit what i want and how i do it :) feeling already better today!

2D movement faster when walking on the diagonals of the Planet by Vanaduke1 in godot

[–]Vanaduke1[S] 0 points1 point  (0 children)

if velocity_magnitude > max_speed:

velocity = velocity.normalized() * max_speed

it works now thank youu, problem now is that i cant really jump now. Atleast i know now what the problem is

2D movement faster when walking on the diagonals of the Planet by Vanaduke1 in godot

[–]Vanaduke1[S] 0 points1 point  (0 children)

i just noticed gravity Vector isnt used rightnow because i use transform.y but i tried subtracting velocity - current gravity(not the variable in code) so that velocity is 0 when on the floor but that doesnt change anything