- What do you want to achieve?
I want to make a rotating kill brick.
- What is the issue?
The issue is that at about, 90 degrees of rotating, my kill brick always gets stuck.
-
What solutions have you tried so far?
I’ve tried tweening, using orientation/rotation, and looking at posts on how to rotate parts(various methods) but my killbrick has had a somewhat similar behavior.
Spinning Tween
spin = function(part)
local info = TweenInfo.new(
5,
Enum.EasingStyle.Linear,
Enum.EasingDirection.Out,
-1,
true,
0
)
local tween = TS:Create(part,info,{Rotation = part.Rotation + Vector3.new(0,360,0)})
tween:Play()
end,
Footage during tween:
Note: When I used orientation/rotation it just stopped at a number closed to 90 on the Y axis since I’m rotating on the Y axis.
Note 2: Actually when I use orientation the issue was the rotation on the Y axis was exponentially increasing.