Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

i used cinemachine!!!! it automatically blends between cameras! i had an array of cameras that were connected to a script that randomised which camera was active. The cameras were also attached as children to the Player's body and were  assigned through cinemachine to points towards the player!

Gameobject[] cameras;

private void RandomiseCamera(){

Gameobject chosenCamera = cameras[Random.Range(0,cameras.length))

foreach(Gameobject cam in cameras){

if(cam != chosenCamera)

{cam.SetActive(false)}

else{

cam.SetActive(true)}}}

---------------------------

IM GLAD YOU ENJOYED IT :DDDD THANKS FOR PLAYINGGG

(+1)

Oh cool. Thanks for explaining!

The reason I asked about the cameras was because:
a) it was cool

b) it was a really great way to provide some way to like mix up the game's visuals and make it look physically interesting to watch and play and stuff and was a really great choice

thank you^^ I really appreciate questions! I’m glad you liked it :)))) I had to create the lock button in like the last half hour because some people didn’t like the motion!