I'm halfway to getting this to work, but it's still not 100% working.
Basically I want the player to move with a horizontal moving platform, whilst the player jumps on the platform. If you jump on a moving platform with the platform behavior, the player sticks to it and can move about no problem, but if you jump, then the player goes flying back, as they're no longer moving with the platform.
Right now I have it to set the X vector of the platform behavior to itself, if the player doesn't press any button whilst jumping. Then to allow the player to move around whilst they're jumping, I increase/decrease the max speed as required.
This works for the most part, however it ignores the acceleration and deceleration for the platform behavior, due to it needing to set the X vector to itself if the player isn't holding a direction. Does anyone know of a better way of doing this?
Many thanks!