I had a project made with Babylon Toolkit: v4.0.3. It consists of a room and some objects in it, player can move around using the WASD key on desktop browser with VR enabled on mobile, basically the default setting.
A few days ago, I found that there is a new version released so I decided to try it out.
However the new version seems to be quite different from v4 and I couldn’t make the project to work.
Firstly I was stuck at the camera setting, I would like to make the followings to work:
- Use WASD-key to move around on desktop, the camera was locked at the starting position and cannot move around now
(Edit: Turns out the camera can be moved by the arrow keys, so my question should be how to add WASD key control to the camera?)
(Edit 2: I figured this out already, just push the WASD key code to the keysUp/Down/Left/Right array)
- Move and look around by dragging on screen and enter VR mode by VR button. Currently VR experience can be provided on Android device, but the VR button does not show up on iOS
- Camera travels through meshes even Check Collision is enabled
I’ve tried both Universal Camera and Virtual Reality, checked “attach control”, checked “enable input” in Scene Controller.
I also noticed there are some errors in my old scripts too but did not get into it yet.
The exported scene by v5 looked much better visually so I would really like to get it to work and migrate to it.
Any help would be appreciated. Thank you.