Hi. I’m having trouble making the orthographic camera (from the asset portal) follow my player. Here are screenshots of my collection hierarchy and camera script arguments:
I’m able to move my player using WASD, but the camera does not move along with it. Nor does the camera center itself on the player either. The zoom works, so I know the camera exists and is enabled.
Still isn’t doing anything. Tried it without the ‘/’ as well. Also tried ticking the “follow immediately” box. That’s the correct url, right? “Player” id is a root node of the collection.
That helped, but why is there a Follow box along with two other Follow Vertical / Horizontal boxes? Also, what’s up with this camera? It’s moving faster than my character moves. If I walk just a few tiles, the camera is already far away from my character.
Follow Vertical and Follow Horizontal are settings, in case you only want the camera to follow in one axis. As for the camera moving faster, try resetting all the options to default except for Follow Target and Follow.
Thanks for your help, but I was getting other weird issues to, like licking the “follow horizontally” button would change the camera’s movement to just shoot wildly out of control. I switched to the “Rendercam” asset instead and it’s working beautifully. Not sure what the problems were.