Hello, I'm trying to program a moving platform correctly. I noticed that with my movement script, my character, while it could go on the platform and move within the platform, when it jumped, it did not follow the velocity of the platform and would fall out of it. This is problematic not only in what I wanna do with the game design but also because it doesn't simply follow the rules of physics in general(an object in movement stays in movement). With that being said, I do believe this could be cause by how the Godot physics library works. My code is below, this define the movement for my playable character(Characterbody3d):
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.