More work on 3D movement.