How do I get player character to fling on ramps?

How do I get the player character to fling on ramps after running up to it like Sonic? I’m making a boost-styled game and the 3d physics isn’t letting the player fling itself on ramps.

User Inked Toast on discord
Is making it like in OG Sonic games
He is ray casting from two different player positions straight down

And then by checking angle between these rays he can tell angle of slope

This is faulty because he was not accounting for original player angle

I just told him to use shape painter so he can see what he is actually doing and that helped him fix the issue

Link to his message on discord

It is not ok to ping random ppl on discord without active conversation
But i think if you would to ask him a question
And you would need to ping him
You could state you are aware it is NOT OK to ping ppl without active convo or following one
But i helped him get his junk work
And i never ask him anything in return
And i would expect him to return the favor by him helping you
And i think moderation would not chase you with axes and torches

Unless by using SP or by what he wrote you can avoid his mistake

1 Like

Okay thank you! I actually haven’t thought about using ray casting downward to check for an angle. I just thought that I could use the velocity of the character to fling itself. It only worked horizontally but not vertically. So thank you!