Forum Discussion

Daybreaker's avatar
9 months ago
Solved

First Person On Mobile?

I've seen examples of worlds that allow a first-person view on mobile, however, I haven't been able to find any documentation on how to do this. Can someone enlighten me or point me to the documentation for this?

  • You'll need to use Typescript and on desktop make sure the Camera API is turned on. You'll need to run the script locally on the person you want to control the camera on. After that, you can make changes to XS camera locations including 1st and 3rd person and even anywhere else in the world. I believe there's a tutorial in the documentation.

3 Replies

  • there are typescript apis to change the camera, but you can also do so via a spawn point gizmo.

  • You'll need to use Typescript and on desktop make sure the Camera API is turned on. You'll need to run the script locally on the person you want to control the camera on. After that, you can make changes to XS camera locations including 1st and 3rd person and even anywhere else in the world. I believe there's a tutorial in the documentation.

  • You can go into the properties of the spawn-point and change camera view options. If you wanted to change camera views throughout gameplay, you would need to set that up using typescript.