How can I walk inside a moving spaceship in VR?

Hello everyone,

Sorry for dumb questions in advance. I want to have a spaceship flying forward perpetually, so I used the Projectile Movement Component in Blueprint and my spaceship is moving forward. All of this should be in VR by the way. So when I hit play the spaceship moves forward and that works. After that I´ve placed the Player Start inside my spaceship, but when I hit play the spaceship flies away moving forward but I as a VR character stay behind. How can I connect my player start to my spaceship so that I can move around freely inside my moving spaceship? Many thanks in advance :slight_smile: Kind regards

I think you’ll find that 99% of games where you walk around inside a spaceship, the ship is not moving. Just the things outside.

When you really want to fly it, then the spaceship itself becomes the pawn, and it really moves around.

1 Like

Thank you so much for your answer, do you mean like some sort of endless runner type of game? Would it be possible for my spaceship to stand still and just spawn objects left and right of it and make it look like the spaceship is flying? And if so do you know any kind of tutorial that I can learn to achieve this? Any other hint in the right direction would be greatly appreciated, and thank you so much for your answer again :slight_smile: Kind regards

Not like an endless runner, the ship just doesn’t move. See this:

1 Like

Super interesting article thanks! :slight_smile: and the game looks amazing. It made me think about what I really want to achieve. I’m a total noob by the way and your answers are a great help. I don’t want to control the spaceship in any way, it just should be flying forward infinitely basically, or like you’ve mentioned objects could be flying past the ship giving the illusion that the ship is actually flying. The actual game is completely inside the spaceship while I’m exploring all the rooms inside of it in VR. From the Endless Runner Tutorials I’ve seen, the Runner is moving forward all the time while the obstacles are spawned left and right, do you think it’s possible to achieve the same feeling of movement if the ship is standing still? Sorry for the long text :slight_smile: Kind regards

Take a look at Star Trek ( or anything like that ). It’s exactly like being in a building, except when you look out the window, then you get to see that ‘star smeer’ if you’re travelling at warp, or just stars ( that aren’t moving ), if travelling at sub-light.

You could just put a sky sphere out there with a cosmos on it and rotate it very slowly, I think that’s all you need.

Here’s my fake spaceship window

stars

All it is, is a sphere ( material on the inside ), with a starry sky material on it. I’m rotating it using the level BP

image

and I’m standing next to a thing that looks like a spaceship window:

1 Like

Can’t thank you enough really! :slight_smile: The thing is in VR the sky sphere looks flat, at least thats my experience from the games I’ve played, the only way for it to feel like real life is when you fly past real 3D objects or like you’ve mentioned having things flying past the ship. I really need it to be 3D because in VR you just can’t fake it. I’ve moved 3D objects manually with the mouse in Blender using VR and it just feels so amazing in VR, and thats what I’m trying to achieve or learn how to achieve. Kind regards :slight_smile:

1 Like