Hi!
I have a character and camera controller I am trying out for my game, nearly perfect, a few issues, but...
(Hell, Ill ask right out, suggestions for good RPG camera controllers, with smooth follow..? DANG I seem to have tried hundereds.. all are flawed, or too complex)Anyhoo Where was I?...So this set up requires that the camera knows where the player is, so you need to drag the player prefab into the slot on the camera script, and now bingo! the camera follws the charater..
EXCEPT, my character is spawned into the game, via the Photon multiplayer stuff... so it doesnt exist in the Hierarchy window till you hit play. So the camera thinks its missing and causes a game pause...
I have tried this: I made a GO, in the scene, called it CameraTracker, dragged THAT into the camera script as the focal point... THEN I added a FSM to it telling it to set its position by a variable. I then added a FSM to my Player Prefab, which Shouted out a global vector3 as THAT variable...
Sort of worked, but, the camera needs to get back behind the charater, and this method only got it pointing at the player. Great for a Side Scroller, but not for this.
Any Ideas how I could do this, either by altering my method (Is there a... um thing that displays rotation as well as position?)
Or some other more sneaky clever clogs way?
Mark