Hello, Right now I’m currently trying to help out another Forum post, but I can’t seem to rotate this object fully
heres the code:
local SpinObject = script.Parent
while true do
SpinObject.Orientation += Vector3.new(5,0,0)
task.wait(0.2)
end
Heres a video on whats happening
I slowed it down in the video so I had time to load in
Basically I just need help on it rotating infinetly instead of just stopping
2 Likes
GuinPeng
(Matcha)
#2
I’m pretty sure for Vector rotation the max is 180 and -180, but I believe you can just rewrite that to
SpinObject.CFrame *= CFrame.new(5, 0, 0)
3 Likes
nope it doesnt work it drops the football of the baseplate
GuinPeng
(Matcha)
#4
wait my bad I meant to do
SpinObject.CFrame *= CFrame.Angles(5, 0, 0)
This moves the rotation, whilst before moves the position
1 Like
Ok so it works now, but it was just wrong with the location of the five make it
while wait() do
SpinObject.CFrame *= CFrame.Angles(0, 0.5, 0)
end
1 Like
GuinPeng
(Matcha)
#6
It’s up to you
abcdefghijklmnopqrstuvwxyz
2 Likes
system
(system)
Closed
#7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.