Hey! I want to change character size smoothly. I use Character:ScaleTo() for that. Whats the best way to make it smooth? Maybe I should use other system and not CharacterScaleTo()?
Here`s the script that I use:
for i = 1, 10 do --scales the character from 0.1 to 1
task.wait(0.01)
Character:ScaleTo(i / 10)
end
However, it is not smooth at all. Let me know if you have an idea how to make it smooth. Thank you!
In case you didn’t know, there are a few number values in the humanoid that you can change. Note that this only occurs when the character is parented to the workspace.
What you should do is just simply tween those values, and Roblox will automatically scale the humanoid to the desired ratio.
I’m on mobile right now so I can’t find a way to load the video. Could you describe it for me please? like does it happen every other frame or are the increments too fast?
The character/camera (or both) shakes when i do that and it happens that fast character happens to get stuck in the baseplate and it just doesnt look smooth.
Hmm, changing sizes or positions don’t tend to be smooth by doing it on the server. What I would do is create a remote event that when fired, changes the sizes and other things on the client. note that these changes do replicate because of network ownership.