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

What is wrong with the bodgyro, why is it all buggy?

Asked by 5 years ago

The bodygyro is following the Ai when the player is shooting. However, it gets buggy when the Ai is ontop of a building and the player is on the ground and very close by the Ai. When the player shoot the gyro goes all crazy. I don't why this is happening. I Just want the bodygyro to follow the player side by side and up and down. I don't want it to be all buggy. How do I fix this bug?


--[[Body Gyro Properties: D = 15 MaxTorque:100000000, 100000000, 0 P = 50000]] local rotate = char.HumanoidRootPart:findFirstChild("BodyGyro") rotate.CFrame = CFrame.new(char.UpperTorso.Position, (script.targeting.Value).UpperTorso.Position)
0
Body gyro will do this sometimes (at-least for me) just mess around with the maxtorque and power for a bit then it should work. sonysunny 36 — 5y

Answer this question