Why is my spinning killbrick getting stuck?

Hello!

I have 2 spinning killbricks that are anchored, CanCollide false and not touching anything. They both get stuck at the same spot (0, 90, 0 rotation) even though there’s nothing there to stop them.

My code
for i, v in pairs(CollectionService:GetTagged(tags.Spin)) do
	v.CanCollide = false
	
	task.spawn(function()
		while true do
			v.Rotation += Vector3.new(0, 1, 0)
			task.wait()
		end
	end)
end

Any help is appreciated!

I figured it out! Instead of adding Vector3.new(0, 1, 0) to the rotation property, I multiplied the CFrame property by CFrame.fromEulerAnglesXYZ(0, math.rad(1), 0).

2 Likes