generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Shoulder camera?

Previous Thread :: Next Thread 
awotn is not online. 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 is not online. awotn
Joined: 01 Nov 2014
Total Posts: 226
31 Jul 2015 03:10 PM
bump pls
Report Abuse
awotn is not online. awotn
Joined: 01 Nov 2014
Total Posts: 226
31 Jul 2015 03:25 PM
does no 1 know qq
Report Abuse
Ukrainest is not online. 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 is not online. 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 is not online. awotn
Joined: 01 Nov 2014
Total Posts: 226
31 Jul 2015 03:47 PM
bimp
Report Abuse
FactualTheory is not online. FactualTheory
Joined: 10 Sep 2013
Total Posts: 1365
31 Jul 2015 03:48 PM
we have given you what we have, now tweak it or learn to code.
Report Abuse
awotn is not online. 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 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image