awotn
|
  |
| Joined: 01 Nov 2014 |
| Total Posts: 226 |
|
|
| 31 Jul 2015 11:35 AM |
How would I go about making a shoulder camera like in this video.
https://www.youtube.com/watch?v=RFIq2jMu9EA
I've tried the Humanoid's CameraOffset way, but it's really laggy. Anyone know any other ways? |
|
|
| Report Abuse |
|
|
awotn
|
  |
| Joined: 01 Nov 2014 |
| Total Posts: 226 |
|
| |
|
awotn
|
  |
| Joined: 01 Nov 2014 |
| Total Posts: 226 |
|
| |
|
Ukrainest
|
  |
| Joined: 31 May 2015 |
| Total Posts: 324 |
|
|
| 31 Jul 2015 03:32 PM |
-- Coded by Ukrainest
self = script.Parent c = workspace.CurrentCamera rs = game:GetService("RunService")
player = game.Players.LocalPlayer char = player.Character or player.CharacterAdded:wait() humanoid = char:WaitForChild("Humanoid")
player.CameraMaxZoomDistance = 0.5 humanoid.CameraOffset = Vector3.new(0,0,-0.5)
function updateCam() if humanoid then local y = c.CoordinateFrame.lookVector.Y humanoid.CameraOffset = Vector3.new(math.max(1.5,1.5-y),math.abs(y/2)-y*3.8642337322235,4-math.abs(y)) end end
function lock(part) if part and part:IsA("Hat") and part:WaitForChild("Handle") then part = part.Handle end if part and part:IsA("BasePart") then part.LocalTransparencyModifier = 0 part.Changed:connect(function () part.LocalTransparencyModifier = 0 end) end end
for _,v in pairs(char:GetChildren()) do lock(v) end
char.ChildAdded:connect(lock) rs.RenderStepped:connect(updateCam)
-- Coded by Ukrainest
insert this into a localscript and put it into starterpack |
|
|
| Report Abuse |
|
|
awotn
|
  |
| Joined: 01 Nov 2014 |
| Total Posts: 226 |
|
|
| 31 Jul 2015 03:38 PM |
| That's still kind of laggy in studio and resembles the ones that I've seen in freemodels. Any one have any tweaks or something to make that "better"? |
|
|
| Report Abuse |
|
|
awotn
|
  |
| Joined: 01 Nov 2014 |
| Total Posts: 226 |
|
| |
|
|
| 31 Jul 2015 03:48 PM |
| we have given you what we have, now tweak it or learn to code. |
|
|
| Report Abuse |
|
|
awotn
|
  |
| Joined: 01 Nov 2014 |
| Total Posts: 226 |
|
|
| 31 Jul 2015 03:50 PM |
>we have given you what we have, now tweak it
What I was given was a freemodel. And if I knew what to do, I wouldn't be asking.
>learn to code.
Wow, what a position of ignorance. Check any of my places. I would be willing to bet that I am 100 times the "scripter" you are.
|
|
|
| Report Abuse |
|
|
Ukrainest
|
  |
| Joined: 31 May 2015 |
| Total Posts: 324 |
|
|
| 31 Jul 2015 03:52 PM |
haha, yes it was a free model with some tweaking of my own
but you asked for a shoulder camera and you were given one
no matter what you receive once it's posted it will be free model anyways, so either you find someone to do it for you privately or don't ask a public forum for something |
|
|
| Report Abuse |
|
|
awotn
|
  |
| Joined: 01 Nov 2014 |
| Total Posts: 226 |
|
|
| 31 Jul 2015 03:55 PM |
| Just looking for as many answers as possible so I can get the best results. Thanks. |
|
|
| Report Abuse |
|
|