![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Mk_ |
I have a kinematic body that in a platform game.when I hit space it jumps and move around with arrow key and when he is in the air.the gravity affect him by
velocity.y += gravity * delta
In the process(I mean physic one), the problem is when the character dies, I disable the process with
set_process(false). It works fine But when I’m in the air and someone kill me the character die and disable it’s process so the gravity doesn’t work and it remain in the air.What SHOULD I DO.
That was my first question the second is I want throw somethin like rope from character and attach it to wall(that is static body) and become suspend in the air(like hook in Terraria game).which node should I?
Use