Context
For the last few months Ive been working on a 3D platformer. While I wanted this project to be an exercise in level design I have been struggling to progress as I am currently bashing my head against making a simple jump for my character.
The intent
I want it so when the player presses the jump action their character jumps in the air. This jump should be a quick rise followed by a light controllable decent following a smooth parabolic arc.
The Problem
Right now the character isnt following that parabola. It less feels like their jumping into the air and more like their teleporting, as shown in the above GIF. I tried an approach where by the amount of jump force that is applied to the player decreases every physics tick, but this hasn't worked in the slightest and its making me frustrated. The character is falling as intended, but the rising motion isn't what Im looking for. What am I doing wrong? Do I need to tween the motion to make it smoother? Should I use an animation player? What do I do?
Supporting Resources
Source code: https://pastebin.com/uKRZy9z8
OS: Windows 10
Godot Version: 4.4.1
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
