playMaker

Author Topic: Switching character problem  (Read 1143 times)

QueenM56

  • Junior Playmaker
  • **
  • Posts: 55
Switching character problem
« on: May 25, 2018, 01:15:28 AM »
Hi all,
I'm currently facing a problem when switching characters in game scene.
What I did is to put 3 characters in the scene and deactivate 2 when game starts.
The problem is, the camera and all the enemies are suppose to find and follow the original character, so when other characters are selected, all the find position and follow actions are not working.
Could anyone give me some advise on how to solve the problem?
Thanks!
M

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Switching character problem
« Reply #1 on: May 25, 2018, 02:57:14 AM »
You can tag the original character, make the camera follow the object with that tag and switch tags when you switch characters. Or have an object that the camera will follow (empty object with only transform and name) that will be childed under the character that the camera is supposed to follow and simply reparent it when switching characters.
Available for Playmaker work

QueenM56

  • Junior Playmaker
  • **
  • Posts: 55
Re: Switching character problem
« Reply #2 on: May 25, 2018, 07:39:56 AM »
Thanks x 100!
You are the best Krmko :)