I have a cylinder shaped lily-pad that I am trying to rotate using the BodyGyro. I am using the BodyGyro because I want the player to rotate with the lilypad. The problem is that the player isn’t rotating with the lilypad, he is just staying in the same position.
The lilypad is a union
This is the bodyGyro’s properties
This is the bodyPosition’s properties
Picture of the lilypad:
Here is a video of the problem:
If you need it, this is the script used to change the Bodygyro’s CFrame, and rotate the part
local part = script.Parent
local bodyPosition = part.BodyPosition
local bodyGyro = part.BodyGyro
bodyPosition.Position = part.Position
bodyGyro.CFrame = part.CFrame
while true do
bodyGyro.CFrame = bodyGyro.CFrame * CFrame.Angles(0, math.rad(5), 0)
print(bodyGyro.CFrame)
wait()
end
Thanks