#Roblox Mobile Camera

19 messages · Page 1 of 1 (latest)

stray junco
#

this is maybe

#

the most ineffective way possible

#

to lock to first person

#
player.CameraMode = Enum.CameraMode.LockFirstPerson```
#

@young aspen

young aspen
#

I have a 2nd script that makes the player’s body visible in first person, so making it so the camera subject is the part makes it so the camera isn’t inside their body, is slightly forward, and has collision so your camera doesn’t just clip when you’re too close.

#

Also I’ve tried changing the mode to lockfirstperson but it still doesn’t work for mobile.

young aspen
#

Found the issue.

#

But don’t know how to fix.

#

For some reason, the local script doesn’t think the head exists on mobile, like when I printed the children of my character on mobile, head doesn’t show up at all, but on PC it does.

stray junco
#

yeah ik why

#

code looked fine, you just didn't use WaitForChild

#

so the things won't be loaded in

#

bcuz different load times

#

@young aspen is this sorted?

young aspen
#

Now the body is always in the side for mobile, when it is suppose to be behind, and it is for PC.

young aspen
#

Still issue. ;<