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: question

Previous Thread :: Next Thread 
RemasteredBox is not online. RemasteredBox
Joined: 19 Jun 2016
Total Posts: 2140
23 Aug 2016 05:36 PM
how can i smoothly move something using cframe on the server
like extremely smoothly


"me caveman rawr" - R.B. Box (Regalius Boxikins Box)
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
23 Aug 2016 05:44 PM
starts with l and rhymes with derp.


Report Abuse
RemasteredBox is not online. RemasteredBox
Joined: 19 Jun 2016
Total Posts: 2140
23 Aug 2016 05:47 PM
@kodran

no, i mean EXTREMELY smooth
like pf smooth


"me caveman rawr" - R.B. Box (Regalius Boxikins Box)
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
23 Aug 2016 05:48 PM
starts with l and rhymes with burp.


Report Abuse
RemasteredBox is not online. RemasteredBox
Joined: 19 Jun 2016
Total Posts: 2140
23 Aug 2016 05:52 PM
lerp aint smooth enough


"me caveman rawr" - R.B. Box (Regalius Boxikins Box)
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
23 Aug 2016 05:52 PM
That's a good quote, I'll get that on a t-shirt.

It's how you're using it that's not smooth.


Report Abuse
Flux_Capacitor is not online. Flux_Capacitor
Joined: 07 Apr 2008
Total Posts: 45720
23 Aug 2016 05:53 PM
"lerp aint smooth enough"
LOL
Report Abuse
RemasteredBox is not online. RemasteredBox
Joined: 19 Jun 2016
Total Posts: 2140
23 Aug 2016 06:13 PM
i need smoother


"me caveman rawr" - R.B. Box (Regalius Boxikins Box)
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
23 Aug 2016 06:14 PM
maybe you should just do a little research to jog your memory on what linear interpolation is


Report Abuse
bosswalrus is not online. bosswalrus
Joined: 04 Jan 2013
Total Posts: 5430
23 Aug 2016 06:29 PM
lerp
Report Abuse
KillerKyle is not online. KillerKyle
Joined: 29 Jul 2007
Total Posts: 6371
23 Aug 2016 06:30 PM
The less CFrame you move something, the smoother.
Report Abuse
RemasteredBox is not online. RemasteredBox
Joined: 19 Jun 2016
Total Posts: 2140
23 Aug 2016 06:31 PM
i need fast but smooth -_-


"me caveman rawr" - R.B. Box (Regalius Boxikins Box)
Report Abuse
Spathi is not online. Spathi
Joined: 18 Nov 2013
Total Posts: 14776
23 Aug 2016 06:32 PM
I usually use 0.1 or 0.01


[Everybody's tough behind a keyboard] Current ROBUX: R$101
Report Abuse
KillerKyle is not online. KillerKyle
Joined: 29 Jul 2007
Total Posts: 6371
23 Aug 2016 06:32 PM
The smoother, the slower. You'll have to find a balance.
Report Abuse
KapKing47 is not online. KapKing47
Joined: 09 Sep 2012
Total Posts: 5522
23 Aug 2016 06:35 PM
Um... u alright there?
lerp() isn't the one to blame, wait() is :P
If .03 seconds isn't enough, u could use coroutine.yield() instead, but be warned, u may not like the performance drop.
Report Abuse
KillerKyle is not online. KillerKyle
Joined: 29 Jul 2007
Total Posts: 6371
23 Aug 2016 06:37 PM
RenderStepped?
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
23 Aug 2016 06:39 PM
lol when 30 frames / second isn't smooth enough for ROBLOX
Report Abuse
Xsitsu is online. Xsitsu
Joined: 28 Jul 2009
Total Posts: 2921
23 Aug 2016 06:40 PM
The problem with it not being smooth enough is that Lua only updates 30 fps normally and is limited to this for server scripts, but the client renders at 60 fps. This causes the CFrame updates on the server to be half as smooth.

What you could do, is use some body mover object on the server. That will cause physics updates which the client interpolates over while drawing and will thus be smoother.
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
23 Aug 2016 06:41 PM
yeah but you probably won't even see the difference between 30 and 60 FPS and this is ROBLOX so if you are looking for high performance you're in the wrong place
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