Author Topic: View other players camera  (Read 4265 times)

IIIDeFeKtIII

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 31
    • View Profile
View other players camera
« on: February 24, 2017, 12:55:15 PM »
Is it possible to say have 2 player join 1 scene. 1st player goes about playing while the other can play but in a smaller second camera rect show what the 1st player is seeing through their camera?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: View other players camera
« Reply #1 on: February 26, 2017, 11:41:32 AM »
That's your code. You should be checking tno.isMine or something similar to prevent more than one player from doing the same thing. Furhermore, if you have it set so that your player avatar includes a camera and you instantiate that, then you will just end up with multiple cameras in the scene. You should only have one camera.