So I've built a somewhat decent trampoline function into my game that works good enough. But now I want to make angled trampolines. Imagine it at a 45 degree angle in a corner. I figured I could approach it similairly to how I've done it thus far, but regardless of what I put into Vector X, it has no effect on the player. Could their be any reason for this? I don't want to mess with bullet behavior because that messes with a bunch of other variables I need to be constant in this case.
I need to apply a horizontal force based on player gravity, and angle. I have the algorithm figured out but I don't know by which means to execute it. Any ideas?
Here is my trampoline code.
I wanted to set player.platform.vectorX in a similar fashion but it has no effect.