Very basic logic to handle moving 'up' platforms - basically tracking the 'height' in the z axis of each object and adding another check before collision occurs to determine if it is short enough to step up (relative to the player's current distance off of the ground).
The platform works similarily but obviously does not register a collision on any level but it's height.