|
| 22 May 2014 09:51 PM |
| Anyone know a place where I can get any helpful advanced camera manipulation tutorials? The wiki's is too simple. And I don;t know how people make these crazy camera scripts that make the camera go all over the place |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 22 May 2014 10:01 PM |
To be honest no one really makes comprehensive programming videos for RBX.lua (maybe i should during the summer since i know quite a bit?)
i know when i was still learning and searched for things like this i could never find them.
What kind of 'advanced' camera-work do you speak of? what are you trying to make exactly? |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 10:04 PM |
| Like a camera that moves around for nothing, then goes back to the humanoid. I don't know how people do that. All I know is that it takes a load of scripting... |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 10:12 PM |
moves around for nothing? Im not sure what you meant by that, however i can provide a short script.
Player=game.Players.LocalPlayer Mouse=Player:GetMouse() Cam=workspace.CurrentCamera On=false Mouse.KeyDown:connect(function(key) if On==false and key=='q' then print(1) On=true local C=Cam.CoordinateFrame Cam.CameraType='Scriptable' for i=1,20 do wait() Cam.CoordinateFrame=CFrame.new(Cam.CoordinateFrame.p:Lerp(Player.Character.Torso.Position+Vector3.new(0,5,10),.1),Player.Character.Head.Position) end for i=1,20 do wait() Cam.CoordinateFrame=CFrame.new(Cam.CoordinateFrame.p:Lerp(C.p+Vector3.new(0,5,10),.1),Player.Character.Head.Position) end Cam.CameraType='Custom' Cam.CameraSubject=Player.Character.Humanoid On=false end end)
--Press Q to activate, place this in localscript- hope it helps. |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 10:18 PM |
| please say it helped or i wont be cool ;_____________; |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 10:25 PM |
"The Wiki is too simple."
Lol seriously? Listen, you're supposed to learn the methods for the camera and everything you need. Using the information you learned you're supposed to experiment for yourself what you can do with it.
But it requires you to not be lazy. >.> |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 10:28 PM |
| well hes not necessarily being lazy, i get where he's coming form. Sometimes some people don't know how to use what they know and apply it in effective ways. You may have information but unless you know how to use it, you wont get your finished product. |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 10:32 PM |
| @Spectrum, No, the wiki is too simple with camera manipulation. It doesn't describe interpolation well. It gives no examples. It tells you the definition, but not how to use it. And, I already have 4 basic camera manipulation scripts. |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 10:34 PM |
| as far is interpolation on ROBLOX goes, the most common method of that is "Lerp" (A method of all Vector3's, i would suggest looking it up on the Wiki) |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 10:35 PM |
That is true, but honestly to me, the problem is most people don't...study, or practice scripting. Yet they come here sometimes (Not implying this to OP exactly) and ask for all kinds of things, basically for us to script it for them.
I think people should have some scripting knowledge and bother to study up and attempt first. Then present what they tried to do and then ask for help so we know what needs to be done and put them in the right direction like with OP here. |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 10:36 PM |
| You should have cleared that up what you meant about the WIKI bro. :P |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 10:36 PM |
| @xXSpec, i completely agree. I don't think it's a matter of debate anymore, i think we can confidently say dozens of players come on the forum not for help, but for assets. Which is really quite annoying. |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 10:38 PM |
| Thanks man. But what does Lerp mean? |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 10:41 PM |
Well Lerp is like this:
Saying Vector3.new(5,0,5):Lerp(Vector3.new(0,0,0), 0.5)
is the same as
function lerp(Number, Goal, Ratio) return Number + ((Goal-Number)*Ratio) end lerp(0,10, .1) --> 1 (it goes .1 the distance from 0 to 10, which is 1.)
the only difference a Vector3 is 3 NumberValues representing coordinates |
|
|
| Report Abuse |
|
|
| |
|
|
| 22 May 2014 10:47 PM |
no problem Citizen, all in a days work.
"up up... (waits a bit)... AND AWAY!" *Jumps up but doesn't fly away, just waves cape a little and tries to ninja way out of scene* |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 10:54 PM |
"@Spectrum, No, the wiki is too simple with camera manipulation. It doesn't describe interpolation well. It gives no examples. It tells you the definition, but not how to use it. And, I already have 4 basic camera manipulation scripts."
The function definition for Interpolate should be enough for you to know how to use it. There's a difference between documentation and tutorials. The Wiki should NOT be a tutorial site. At all (despite the number of tutorials on the site). A Wiki should be for REFERENCE only.
Just learn how to read documentation and 90% of your problems are solved through experimentation. The other 10% are question like "How do I use X method or Y property of object Z?" which belong here.
If you need help learning how to read documentation, go to the Object Browser wiki page. http://wiki.roblox.com/index.php?title=Object_browser
Apologies for sounding harsh in some of this. I just find it annoying that people expect everybody else to just hand them stuff. |
|
|
| Report Abuse |
|
|