Godot Version
4.3
Question
ok so I have created a character using a rigidbody 3d, now this is a space game so the gravity is variable and can come from different angles.
I need a solution that checks the gravity direction and aligns the players feet with the floor.
II tried using a basic pid but it makes the character spin like crazy do I need to use quaternion stuff and how?
also there’s zero g movement when not in gravity so i don’t want the pid running.
i was thinking something like if your almost up right the pid kicks in moves you up right but if your moving to fast or at a a large angle from the floor you have to press space to stand up