Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why is the part following my character so buggy?

Asked by 3 years ago
Edited 3 years ago

http://www.youtube.com/watch?v=khtrpm1F94s

The video ^

What I mean by buggy is that the ball is like kinda glitchy. Sorry I dont know what word to use for it but please watch the video so you get what I mean. Help would be appreciated , Thanks!

0
Probably because your character is R15, and the head is wobbling alot. If your script places the ball in the heads position, then it will also wobble when your head wobbles. Try using R6. super1boom 0 — 3y
0
Can you please post code? cegberry 432 — 3y

1 answer

Log in to vote
1
Answered by 3 years ago

im assuming this is server-sided.

from the video you posted, the ball seems to be lagging a little, most likely you are using a wait-based loop ("while true do" and such). the best thing i would do is put a BodyPosition in the sphere and just keep setting the Position property of the BodyPosition to the position you want the sphere to be in. (make sure it's unanchored) the BodyMovers are usually the best way to go simply because they interpolate rather than straight up "teleporting" to the position.

also i would recommend using the HumanoidRootPart as a position reference of a character because it is never animated (doesn't wobble).

Ad

Answer this question