My solution was to linepick down from the players position and if an entity is found parent the player to it and turn off gravity.
This makes them stick to the platform even if it is moving sideways as well as up/down.
This makes them stick to the platform even if it is moving sideways as well as up/down.