|
| 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
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 23 Aug 2016 05:44 PM |
starts with l and rhymes with derp.
|
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 23 Aug 2016 05:48 PM |
starts with l and rhymes with burp.
|
|
|
| Report Abuse |
|
|
|
| 23 Aug 2016 05:52 PM |
lerp aint smooth enough
"me caveman rawr" - R.B. Box (Regalius Boxikins Box) |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 23 Aug 2016 05:53 PM |
"lerp aint smooth enough" LOL |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2016 06:13 PM |
i need smoother
"me caveman rawr" - R.B. Box (Regalius Boxikins Box) |
|
|
| Report Abuse |
|
|
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 |
|
|
| |
|
|
| 23 Aug 2016 06:30 PM |
| The less CFrame you move something, the smoother. |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2016 06:31 PM |
i need fast but smooth -_-
"me caveman rawr" - R.B. Box (Regalius Boxikins Box) |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 23 Aug 2016 06:32 PM |
| The smoother, the slower. You'll have to find a balance. |
|
|
| Report Abuse |
|
|
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 |
|
|
| |
|
|
| 23 Aug 2016 06:39 PM |
| lol when 30 frames / second isn't smooth enough for ROBLOX |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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 |
|
|