Forum rules - please read before posting.

2D Trigger not switching to camera.

edited February 2016 in Technical Q&A
Hi Guys

Can anyone assist here, I have put in a 2D trigger, when the character walks through it I want the camera to transition to my second camera. Easy? Yeah but I must be doing something wrong. Can anyone help?

I have included some visuals to help.
Here is my trigger in scene.

image

here is my Inspector.
image

The desired result is when the player walks through the trigger the camera switches to the "pusher camera". it's currently doing nothing.


lastly I am getting awfully sneaky here, I have two scenes in one, when I walk through a hotspot I basically teleport the player to my new marker and change the navmesh and sorting map to accommodate the new "scene" I am getting this error.

Warning: Changing to new SortingMap with no ConstantID - change will not be recognised by saved games.

I know I need to set the ConstantID but where? HELP! :)

Comments

  • ****UPDATE*****
    Managed to find a few forum posts, I had to add a RIGIBODY 2D and Box collider to get it to fire :)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.