[SOLVED] Create multiple view points

Example like 1st person to 3rd person on a car
project: https://playcanvas.com/editor/scene/1372316
where you can have a button that switches the view points in the top left of the screen

Hi @Jack101 ,

Do you want to be able to switch the camera from 1st person to 3rd?
You can place two cameras(one for 1st person and one for 3rd person view) in the scene and can disable the 1st person camera and enable the 3rd person one on the button click event.

1 Like

Would there be any code to that

also yes i would like 1st person and 3rd person view

Yes, I have added the switch button to your project:
https://playcanvas.com/editor/scene/1375371

You can check this script:
https://playcanvas.com/editor/code/904429?tabs=75230330

1 Like