Are there any interior templates to work with? For Keyboard/mobile/VR?

Hey!

Sorry if this has already been asked a million times. But I’m looking to make a simple room walkthrough. I’ll make a room in 3DS, bake the textures and import all the walls/furniture etc into Playcanvas.

I’d like to be able to walk around with mouse and keyboard on PC. Or if viewing on mobile maybe have some mobile controls. Or switch to VR goggle view if I have goggles.

Are there any such templates? I feel like if there is a template, I could just switch out the room for the one I created and be done with it.

Any help would be greatly appreciated!

Kindest regards,
Kris

Hi @Kris3D and welcome,

There is the Orange Room example project, that uses keyboard/mouse/touch/vr camera for moving around (I haven’t tested the VR camera for a while though):

https://developer.playcanvas.com/en/tutorials/orange-room/

To get accurate collisions and actually walk on the model surfaces you will need to enable a physics based controller, tutorial on that:

https://developer.playcanvas.com/en/tutorials/first-person-movement/

1 Like

Thank you, i’ve checked this one out and if I fork it, and then try to play the game from my projects there is a strange error. Do you know what might be causing this?

Kindest regards
Kris

What kind of error are you getting?

Most likely it’s due to change to the engine, this is an older project and may require updating.

(I’ve fixed the Orange Room)

1 Like

Fantastic Thank you very much! I’ll jump into it now and see what I can learn :slight_smile: