Here is the unreal engine space toolkit project updated into unreal engine 5.5 version. Here you can walk on a planet, then get on a spaceship, then fly into space, then spacewalk and get back in spaceship, fly to another planet and get off there and walk again on surface. Everything happens seamlessly.