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
 

Scriptable cameras these days.

Previous Thread :: Next Thread 
FalconShadow is not online. FalconShadow
Joined: 03 Sep 2013
Total Posts: 88
01 Oct 2013 08:45 AM
They just get completely messed up to where it seems as if the character is flickering. I have yet to find a fix to that, but I thought maybe the 60fps physics might fix it?

Considering I am using :Interpolate on the camera, I'm pretty sure it is not my script, if only you could use wait(1/60) though :c

-Believe and you will achieve-
Report Abuse
SCP087Project is not online. SCP087Project
Joined: 29 Sep 2013
Total Posts: 198
01 Oct 2013 09:26 AM
Lua stack calls still remain at 30 FPS.

Try using RunService.Stepped and RunService.Heartbeat

Two useful events that help with camera manipulation.
Report Abuse
bombpaw is not online. bombpaw
Joined: 15 Mar 2009
Total Posts: 3484
01 Oct 2013 09:34 AM
Even Heartbeat is slow, There are places where a scripted camera can't keep up.
Report Abuse
SCP087Project is not online. SCP087Project
Joined: 29 Sep 2013
Total Posts: 198
01 Oct 2013 09:35 AM
Well, then the creator of the place did something wrong.

I use Stepped for my place and it keeps up just fine.
Report Abuse
bombpaw is not online. bombpaw
Joined: 15 Mar 2009
Total Posts: 3484
01 Oct 2013 09:38 AM
It's not noticeable unless to stick it inside of a character's head then you'll notice the jitter of it.
Report Abuse
SCP087Project is not online. SCP087Project
Joined: 29 Sep 2013
Total Posts: 198
01 Oct 2013 09:39 AM
What?

Explain what you just said in English, please.
Report Abuse
bombpaw is not online. bombpaw
Joined: 15 Mar 2009
Total Posts: 3484
01 Oct 2013 09:43 AM
Meet my friend auto-correct.....

What I meant was that if each heartbeat/step you set the camera to the character's head by cframe you'll notice the camera sometimes won't keep up.
Report Abuse
SCP087Project is not online. SCP087Project
Joined: 29 Sep 2013
Total Posts: 198
01 Oct 2013 09:47 AM
Oh.

Okay.

Yeah, camera:Interpolate() is the way to go if that happens.
Report Abuse
sncplay42 is not online. sncplay42
Joined: 27 Nov 2008
Total Posts: 11891
01 Oct 2013 10:13 AM
>camera:Interpolate()

HOW LONG HAS THIS BEEN HERE
Report Abuse
SCP087Project is not online. SCP087Project
Joined: 29 Sep 2013
Total Posts: 198
01 Oct 2013 10:20 AM
A while.

You can only use it with the Scriptable CameraType, btw.
Report Abuse
itunes89 is not online. itunes89
Joined: 19 Jan 2011
Total Posts: 1957
01 Oct 2013 10:43 AM
http://www.youtube.com/watch?v=fQCTyLjsFLY

Crazyman32 made that, and it is not laggy. It works just fine.
Report Abuse
FalconShadow is not online. FalconShadow
Joined: 03 Sep 2013
Total Posts: 88
01 Oct 2013 10:57 AM
@itunes, that doesn't follow a character though. Juust camera interpolation.

I will try to figure out the heartbeat stuff.

-Believe and you will achieve-
Report Abuse
bombpaw is not online. bombpaw
Joined: 15 Mar 2009
Total Posts: 3484
01 Oct 2013 11:00 AM
Well if I knew about camera:interpolate()'s existence earlier. :(

Thank you.
Report Abuse
FalconShadow is not online. FalconShadow
Joined: 03 Sep 2013
Total Posts: 88
01 Oct 2013 11:09 AM
So I changed it to stepped instead. The character is still flickering, though.

Here you can see what I mean:
http://www.roblox.com/FalconShadows-Testing-Place-place?id=128664604

-Believe and you will achieve-
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
01 Oct 2013 02:16 PM
[ Content Deleted ]
Report Abuse
SeaEmperor is not online. SeaEmperor
Joined: 15 Aug 2013
Total Posts: 168
01 Oct 2013 03:42 PM
game:GetService("RunService").Stepped:connect() seems to get rid of that flickering action. It worked for me, anyways.
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