gyro = script.Parent.Parent['Red Barrel'].BodyGyro gyro.cframe = CFrame.new(0, 3, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
All settings except the .cframe are set to default, all the specified members exist, and Red Barrel isn't anchored. The BodyGyro stays in it's same rotation and can be pushed/rotated freely instead of locking onto the cframe. Help?
By default, a BodyGyro has a a maxTorque
of 400000, 0, 400000. That means the object is free to rotate about its Y axis (looking down from above, it can spin like the hands on a clock) -- the BodyGryo will only prevent it from tipping.
Make sure the y
is similarly big to prevent it from spinning.
If the model is very large, you might have to make the maxTorque
or P
properties larger.