Currently, when a player or enemy is in a moving platform, the Y and X velocities will stack/substract depending if the entity is moving in the same direction than the platform. This should not happen! After trying a few scripts with no luck, I have come in here to ask the experienced developers: what is the right way to prevent this from happening?
Thank you very much!