#Create a moving elevator without shaking

1 messages · Page 1 of 1 (latest)

steel depot
#

Hello, I have elevator that is player controller UP/DOWN, but when moving, its shaking. I use Model:TranslateBy 0.05 every 0.01 seconds buts its still shaking

pale gazelle
#

no script?

steel depot
#

I don't see reason to provide script, Model movement is shaky on client side when moving whole model.
its while true do loop and go up basically

pale gazelle
#

ok....

upbeat hearth
#

Welp

#

I'm not helping if no script because idk whats wrong

steel depot
#

Script is not the issue, server to client physics is

pale gazelle
#

Then the issue can be bc model:translateby moves the entire model but t dosen't update the physics propely, causing jitter

#

or

#

it can apply small moves, and due to floating point errors, network delays and physics constraints, the movement isn't prefectly smooth

steel depot
#

Yeah I have assumed that client is just making small jumps and constantly falling on same part. Is there any way to fix this?

pale gazelle
#

U can use Cframe instead of translate by

#

for ex

#

Wait

#

sorry

#

I think the best approach is to use SetPrimaryPartCFrame() with RunService.RenderStepped for frame-based updates.

unborn hound