of     1   

xuefei123
#193360019Monday, July 11, 2016 8:30 AM GMT

Hey there, I am looking how to start making a custom mouse lock. What I am trying to do is make a like third person view for my new shooter. I need the mouse to be locked on the screen somewhat to the right of the player and when the player moves their mouse it moves their character and camera. I've looked at the forums and other SH questions, but there are no answers that work or help. It's kind of like the thing in Polygunz by Mailbox games and in stealth
Repsej112
#193361459Monday, July 11, 2016 9:13 AM GMT

Post this on "Scripters" forum
CitCatCarrie
#193361992Monday, July 11, 2016 9:30 AM GMT

^ This is a help request and belongs here, not there. This is the description of the scripters forum: "This is the place for discussion about scripting. Anything about scripting that is not a help request or topic belongs here." This post belongs here, not on the scripters forum.
Emirhan55
#193365164Monday, July 11, 2016 11:03 AM GMT

It would be awesome if someone could answer this, it's a needed feature in some shooters
iDerpyDogez
#193369501Monday, July 11, 2016 1:10 PM GMT

its a shoulder surf camera(i think), and you can find the real mouselock in the camerascript #code --[[ hi friends i like turtles ]]--
TheUndeadPear
#193371262Monday, July 11, 2016 1:51 PM GMT

you can't ask for a script in "scriptures forum"
TextSoaked
#193386163Monday, July 11, 2016 5:42 PM GMT

ez pz read up the basic cam manipulation of the wiki first spawn a part to a certain distance from the head, where the camera will be loop it like a weld with coroutine and lerp (you can get a lerp library from free models) do the same in front of the character, as you now have a pos and a focus now in the same loop, interpolate the camera with both cframes in the argument, and the delay time of camera travel as your last argument ez pz
xuefei123
#193443826Tuesday, July 12, 2016 7:49 AM GMT

That won't lock the mouse though :P
daireb
#193445942Tuesday, July 12, 2016 8:55 AM GMT

Mouse.MouseBehavior = Enum.MouseBehavior.LockCenter And you don't need to weld parts, you just need to learn about CFrame manipulation

    of     1