Implement 3D movement settings. Fixes #116.