playMaker

Author Topic: [SOLVED] Camera switching problem.  (Read 3138 times)

shinodan

  • Full Member
  • ***
  • Posts: 180
    • Shinozone
[SOLVED] Camera switching problem.
« on: May 09, 2012, 06:28:16 AM »
basically i have 3 cameras in my scene, one pans round the level, on stays behind my char and one is locked to the finish, everything works fine with 2 cameras, but when i add a third, it always switches to that camera even if the action says to change to the main camera. it doesnt make sense :(
« Last Edit: May 12, 2012, 12:03:35 PM by Alex Chouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Camera switching problem.
« Reply #1 on: May 09, 2012, 10:44:12 AM »
Try starting the scene with the other cameras disabled. Any enabled camera in Unity will render...

shinodan

  • Full Member
  • ***
  • Posts: 180
    • Shinozone
Re: Camera switching problem.
« Reply #2 on: May 12, 2012, 04:48:59 AM »
how do you disable a camera without deleteing it? been trying to sort it for the past few days but nothing is working :(

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Camera switching problem.
« Reply #3 on: May 12, 2012, 07:32:53 AM »
Hi,

 not sure where the problem could be, be it's like any other gameObject, simply deactivate it. isn't that working? there is actions for it ( activate gameObject).

Bye,

 Jean

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Camera switching problem.
« Reply #4 on: May 12, 2012, 09:40:52 AM »
Either disable the GameObject or the Camera component. See attached screenshot.

shinodan

  • Full Member
  • ***
  • Posts: 180
    • Shinozone
Re: Camera switching problem.
« Reply #5 on: May 12, 2012, 11:47:49 AM »
That works! dont you love it when you have been trying to do something for days and theres a TICKBOX your missing out that will solve everything.....

Thanks guys lol....