Camera.Subject: Humanoid issue on mobile for vehicle seat

I am getting different behavior when setting the camera.subject on a humanoid when seated in a vehicle seat, on a pc versus mobile.

When on the pc and I set the subject to the humanoid of the player while seated in a vehicle seat and i rotate the camera view it remains and won’t auto rotate back behind the player.

However, doing exactly the same thing and play testing in either studio emulator or on actual mobile, the camera auto rotates to behind the player’s humanoid.

Is this intended or a bug? Or am i missing something about the core camera controller for mobile/tablet vehicle seats?

1 Like

I worked on a vehicle system a year ago (so memory fuzzy) but I’m pretty sure I ran into the same problem and found out it was intended behavior. I (think?) solved it by setting the camera type after the player sat on the vehicle seat like this:

	local camera = workspace.CurrentCamera
	camera.CameraType = Enum.CameraType.Track
1 Like

Thanks ill try to cycle thru the camera types to see if they all react the same… could have sworn it was on track already, need to check my script when i get back to computer.

Edit: its on Custom in both scenarios… will try Track.

1 Like

So although leaving it on Custom produces the auto rotate on mobile, the work around of putting it on Track and selecting the Humanoid as the Subject was a great workaround, since I don’t need to change any other properties of the camera in my situation. Thanks for the tip!!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.