Creating a physics-based moving platform