of     1   

moryo7
#140495853Wednesday, July 16, 2014 6:37 AM GMT

I need to know how I would go about locking the mouse's position at 0,0 in a scriptable cameratype, like this game here: http://www.roblox.com/3rd-Person-Testing-place?id=165633808 I tried manually setting the X and Y values, but it won't let me change them.
Durfungus
#140495979Wednesday, July 16, 2014 6:39 AM GMT

looks like he locked first person then moved the camera to me :o Currently have 46k R$ [HELP, DURFUNGUS IS SPREADING] Twitter - @Durfungus
BalisticMissile
#140497726Wednesday, July 16, 2014 7:06 AM GMT

There's a trick to it. First set the CameraMode property in the player to LockFirstPerson, then go to the CurrentCamera and change the CameraType to Track or any other type except scriptable or custom. Then change the CameraOffset or whatever the property is called in the Humanoid to whatever you want. Make sure to use a LocalScript inside of the player somewhere, like backpack or playergui. Example: I made a localscript in the starterpack cam = game.Workspace.CurrentCamera player = game.Players.LocalPlayer repeat wait() until player:GetMouse() cam.CameraType = "Custom" player.CameraMode = "Classic" -- This fixes a glitch with LockFirstPerson wait() player.CameraMode = "LockFirstPerson" wait() cam.CameraType = "Track" player.Character.Humanoid.CameraOffset = Vector3.new(2,0,0) --Make sure to zoom out once you spawn.
filiptibell
#140507060Wednesday, July 16, 2014 10:59 AM GMT

Put this in a LocalScript: game:GetService("UserInputService").MouseBehavior = Enum.MouseBehavior.LockCenter ~The herp lerped a derp~
Lacryma
#140507163Wednesday, July 16, 2014 11:02 AM GMT

@filip those amazing updates are not here yet :(
filiptibell
#140507182Wednesday, July 16, 2014 11:03 AM GMT

But...but... it works in play solo :c roblox y u do dis ~The herp lerped a derp~
Geodesic
#140507192Wednesday, July 16, 2014 11:03 AM GMT

@duel mousebehavior and mouseiconenabled are available
Lacryma
#140507230Wednesday, July 16, 2014 11:04 AM GMT

0_0 brb
filiptibell
#140507245Wednesday, July 16, 2014 11:04 AM GMT

Oh they might have released the mouse stuff without waiting for iOS to update since no unit using iOS has a mouse basically ~The herp lerped a derp~
BalisticMissile
#140545273Wednesday, July 16, 2014 7:57 PM GMT

Or you can use what I did.

    of     1