Howdy, Stranger!

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

Switching control from one player character to another

Hi there, I think I may have scripted myself into a corner when it comes to this issue. At the moment I am trying to make a game where you can switch between characters (so long as you are within the collider trigger of that character) But I am struggling to switch the character controller from one character off and the other one on.

Any ideas would be greatly appreciated.

Best Answer

  • JIMMY_VASHI04JIMMY_VASHI04 Member
    Accepted Answer

    May be you can can make a master script that always remain active and also has a collider and rigidbody so when something with the controler is in its range that and if the object is playable it will report to that master script about everything and after the playable object is not in range the master script will erase the data and reset it self.

Answers

  • crispcrisp Member
    edited June 2020

    Great idea that totally worked. Thanks a million!

Sign In or Register to comment.