Trying to get used of how physics works in Godot, but there are a lot of things that I don't seem to get, specially about the 'add_force' function.
I am trying to use it to control the character(who is a RigidBody2D) as so:
add_force("vectors and stuff...")
And I have the following questions:
- How to make the force applied fade away once the key is not pressed anymore?
- How to cap how fast it can go?
- How to apply the force in the direction that the body is rotated?
I know those are silly questions, but I came from an environment where force applying worked a little different.