#Viewport "Object Following" Doesn't do anything

9 messages · Page 1 of 1 (latest)

heady onyx
#

When i set the object for the camera to follow, it doesn't actually do anything. I've seen this work for other people, so I thought that would get me out of using a camera object. I haven't used viewport cameras before, so I'm not sure how to fix this at all

heavy skiff
#

seeing your camera and viewport properties are the same (1280x720), id take an educated guess that your room is maybe also that size? in this case the camera is just as big as the room, and cant move about. try smaller values for camera width and height (320x180 for example), or increase your room size

heady onyx
#

my room size is not 1280 pixels in width, and is about 1600 to 1800 instead

heavy skiff
#

im afraid i cant tell from your screenshot, someone who is on 2.x needs to chime in im still on 1.4 back then we had a checkbox to set the view to active on start, so make sure to do that if thats still a thing

tropic hemlock
#

as you can see theirs nothing wrong with that part of your game unless you haven't ticked enable view ports. gonna have to show some more of your code

heady onyx
#

or sorry

#

my player object

heady onyx
#

just checked my room settings, for some reason my width defaulted back to 1280 after previously being 2350