https://gyazo.com/e0a767b6e797a9078f30bbddad3738b3
I want to rotate the cylinder by a script
The rotation i need changes orientation kinda stangely(as you can see on the gif) so i don’t think i can tween it easily.
https://gyazo.com/e0a767b6e797a9078f30bbddad3738b3
I want to rotate the cylinder by a script
The rotation i need changes orientation kinda stangely(as you can see on the gif) so i don’t think i can tween it easily.
Although it looks strange, you can easily use Tweens
local TweenService = game:GetService("TweenService")
Part = workspace.Part
TweenService:Create(Part, TweenInfo.new(1), {["Orientation"] = Vector3.new(360, 0, 0)}):Play()
It will go around, even if the orientation changes to -Y and -Z.
You can use this to rotate a cylinder.
local Cylinder = script.Parent
while wait(0.01) do
Cylinder.CFrame = Cylinder.CFrame * CFrame.Angles(0.1, 0, 0)
end