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

How can i make my fly script less choppy? [closed]

Asked by 6 years ago
Edited 6 years ago

Ill post a script if you ask for it, but basically i have my fly script and when you run into objects in the workspace the character does really glitchy movements and i dont know how to solve it because I already have a gyro trying to prevent it. I tried adding a hitbox welded to the root part but its still very glitchy. Does anybody have suggestions? The only way I manually adjust the gyro cframe is with a lerp to the camera cframe, so i dont see why my script is doing this. Please help. -andrew

0
for fly scripts use bodymovers, that's the best way User#20388 0 — 6y
0
Im using bodyvelocity and bodygyro andrewcooke582 -52 — 6y
0
edit your post, and include the entire script so we will actually know how to help fanofpixels 718 — 6y

Closed as Non-Descriptive by evaera

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?

1 answer

Log in to vote
0
Answered by
Ryrasil 30
6 years ago

If you're using a while loop or another loop you should consider using game:GetService('RunService').RenderStepped/Heartbeat.

0
Ok I'll try that andrewcooke582 -52 — 6y
Ad