Hello everybody,
I am a new PlayCanvas user without any background in game development or coding, I am a 3D artist.
I just got a project that is very similar to the concept of the BMW demo but with a high-tech cabinet.
For start I need to move the camera to a closer view when I press a 2D UI and open one of the drawer,
which is very similar to the part when the door is open and the camera moves inside the car in the BMW demo. Can someone give me some advice on this two elements?
Thanks in advance
Hi @okfir and welcome,
To move the camera on a predefined path you can take a look at the following example:
https://developer.playcanvas.com/en/tutorials/camera-following-a-path/
And the following tutorial is a good staring point on how to add programmable buttons to your UI:
https://developer.playcanvas.com/en/tutorials/ui-elements-buttons/
Hi @okfir,
To add on what @Leonidas said for UI you can also use this. https://developer.playcanvas.com/en/user-manual/user-interface/user-interface-basics/
Thanks @Leonidas and @Gabriel_Dobrzynski
What about the animation part? how can I start an animation when I press the UI element? I looked for a tutorial on integrating animations and could not find any
This can help. 3D Bitmoji Library - PLAYCANVAS
Buttons on the left like “Dance” when you press it then a dance animation will come.
Is there a way to view the project in the editor?
Just press editor
Here: https://playcanvas.com/project/721733/overview/3d-bitmoji-library