HI, im new to unity and adventure creator. I want to have cameras in a scene that I can switch between via a click over an icon. how would I go on to do this?
Have you already got icons displaying in your scene? If not, you do this by creating Hotspots in your scene to mark out the click areas. In the Settings Manager, you can then opt to display "Hotspot icons" over these during gameplay.
AC responds to Hotspot clicks by defining Interactions in your Hotspot. Select your Hotspot, and create a new "Use" interaction in the inspector. The Interaction itself will be created as a separate Interaction gameObject. Select it, and the Inspector will let you create a list of Actions. Change the default Action to Camera: Switch, and you'll be able to choose which camera the game switches to. (You can have another camera ready by choosing "GameCamera" in the Scene Manager).
A tutorial that covers the basics of Hotspots and Interactions can be found here.
Thanks that helped also lot so just to help even more my whole game is set on a desk with different camera angles so what would be my character controller ? do i need one?
Extremely boosted my knowledge maybe this is the last question but how do i animate an object like a bomb for example upon click to on a hotspot to blow up how would i make the animation, what would i have to do to? Can u give me a mini lesson on how to animate anything?
This isn't a guide to making animations or working with Unity in general - try this forum instead. Once you have an animation prepared, ask again and we can guide you through the process of using it in AC.
Hm, seems like the problem is still there. If you put a player switch in the OnStart cutscene and then skipping it, both players will come out and one of them can't be controlled.
Comments
AC responds to Hotspot clicks by defining Interactions in your Hotspot. Select your Hotspot, and create a new "Use" interaction in the inspector. The Interaction itself will be created as a separate Interaction gameObject. Select it, and the Inspector will let you create a list of Actions. Change the default Action to Camera: Switch, and you'll be able to choose which camera the game switches to. (You can have another camera ready by choosing "GameCamera" in the Scene Manager).
A tutorial that covers the basics of Hotspots and Interactions can be found here.
Hm, seems like the problem is still there. If you put a player switch in the OnStart cutscene and then skipping it, both players will come out and one of them can't be controlled.
This thread is 10 years old - did you post this in the wrong place?
ah sorry wrong place. 🫣