of     2   
chevron_rightchevron_rightchevron_right

Clirex
#182915756Wednesday, February 03, 2016 2:53 AM GMT

I'm trying to recreate it but I don't know how...
Hedr0n
#182915795Wednesday, February 03, 2016 2:54 AM GMT

Changes the camera type
Clirex
#182916305Wednesday, February 03, 2016 3:02 AM GMT

can you explain more please
Clirex
#182917610Wednesday, February 03, 2016 3:22 AM GMT

help plox
foreverpower
#182917824Wednesday, February 03, 2016 3:25 AM GMT

By not scamming.
Kurokku
#182917852Wednesday, February 03, 2016 3:25 AM GMT

Doesn't it just have a zoom in effect but the camera stays outside? If that makes any sense, and I'm pretty sure it would be hard to remake due to shift lock is part of the core gui
Clirex
#182920994Wednesday, February 03, 2016 4:35 AM GMT

how does roblox's corescripts that we can rewrite do it basically
adam1717
#182921856Wednesday, February 03, 2016 4:54 AM GMT

Find it on GitHub.
Clirex
#182924845Wednesday, February 03, 2016 6:20 AM GMT

i looked through the scripts i didnt understand how it works can someone help
0xBAADF00D
Forum Moderator
#182924934Wednesday, February 03, 2016 6:24 AM GMT

Try playtesting an empty baseplate in Studio. You can find the camera scripts under your PlayerScripts object in your player.
Clirex
#182926485Wednesday, February 03, 2016 7:51 AM GMT

@0xBAADF00D i already did that it didnt make any sense surely a mod would have better advice than that...
foreverpower
#182926864Wednesday, February 03, 2016 8:23 AM GMT

Yes, learn to script.
Lightlimn
#182928935Wednesday, February 03, 2016 11:54 AM GMT

learn to script and stop scamming
Hedr0n
#182928998Wednesday, February 03, 2016 11:59 AM GMT

This kid scams? I worked for him for a while but backed out
Clirex
#182929224Wednesday, February 03, 2016 12:14 PM GMT

yes i scammed builderman
Clirex
#182929250Wednesday, February 03, 2016 12:16 PM GMT

foreverpower is the real scammer i just didnt reply to him because i figured it would be a waste of time i hired him to fix some problems in my game but he didnt pull off his end of the deal, and refused to do work so i kicked him from the group not a scammer
duckwit
#182929483Wednesday, February 03, 2016 12:31 PM GMT

The camera is positioned at a constant offset relative to the torso of the player. The y-axis rotation of the camera determines the y-axis orientation of the player. In addition to this, detecting and resolving ray cast intersections projected from the torso towards the camera's position can prevent rendering objects that are between the camera and the player. Zooming in and out adjusts the z-component of the offset relative to the torso. You can use LocalTransparencyModifier to lower the opacity of limbs when the camera is close to the character.
Hedr0n
#182929706Wednesday, February 03, 2016 12:44 PM GMT

'The y-axis rotation of the camera determines the y-axis orientation of the player. ' It's too early in the morning to hear this. Op if you can't figure out how shift lock works I suggest not making a entire game because you'll soon find out, shift lock is not the hardest thing you'll have to deal when making a game as advanced as you want.
duckwit
#182940078Wednesday, February 03, 2016 7:05 PM GMT

@checkplate Let me rephrase that as 'the player faces in the direction that the camera faces, except the player does not rotate up and down'. Early in the morning for you, late afternoon for me. @Clirex Don't be discouraged. This is a spatial/geometric problem that is very easy to understand given familiarity with the mathematical constructs of vectors and matrices (CFrame is a combination of these), but difficult otherwise. There are many awesome game ideas that can be implemented that don't require sophisticated spatial calculations. Shift lock is not the trickiest spatial problem, but there are certainly many interesting things you can do that don't depend on this. If you are interested, ask a math teacher at school about vectors and they may be able to help you understand 3-dimensional space calculations better!
Clirex
#182948881Wednesday, February 03, 2016 10:02 PM GMT

im not discouraged, im used to the salty scripters forum checkplate (chimmmihc) i know so its whatever i asked a simple question and the scripters forum flamed me thanks for explaining it further
Clirex
#182948995Wednesday, February 03, 2016 10:03 PM GMT

actually nevermind, just read your reply duckwit and that is completely different than what i asked i have already created all of that stuff i just want to know how to create the character turning similar or exact to roblox's default
Hedr0n
#182950242Wednesday, February 03, 2016 10:24 PM GMT

Duckwit solution and is stupid not because of the rotate up and down but player movement would have to compensate for the offset since movement would be based around the camera. set the cameras coordinate frame to local rcf = Character.HumanoidRootPart.CFram rcf * rcf.lookVector * CFrame.new(0, 0, Offset) * CFrame.Angles(Angle, 0, 0)
Clirex
#182956286Thursday, February 04, 2016 12:02 AM GMT

did it myself, a little bit of help from chim local Root = Char:FindFirstChild(CharacterSubject) while Root and Lock and RunService.RenderStepped:wait() do local x, y, z, _, r01, _, _, r11, _, _, r21 = Root.CFrame:components() local _, _, _, r00, _, r02, r10, _, r12, r20, _, r22 = Mouse.Hit:components() Root.CFrame = CFrame.new(x, y, z, r00, r01, r02, r10, r11, r12, r20, r21, r22) end
duckwit
#182988710Thursday, February 04, 2016 4:57 PM GMT

@Clirex You could save some time when you next ask a question by providing more details. When checkplate replied "Changes the camera type", and you responded "explain more please" it seemed that you didn't understand the dynamics of a third person camera. My mistake, but it's difficult to help people when they ask obtuse, open-ended questions like "how does x work?" - the depth and relevance of answers that you receive will depend on how well you equip the answerer with details of your specific problem.
Clirex
#183002448Thursday, February 04, 2016 10:17 PM GMT

@duckwit if you had read the title of the thread, it clearly says "shift lock movement" not "third person camera"

    of     2   
chevron_rightchevron_rightchevron_right