My Angular Velocity Gets Sticky In-Game

I created a model of an old IBM Magnetic Tape Unit, and I animated the spinning tape reels. Everything looks pretty good while testing in Run mode inside Studio. But when I try it out in Play Here and Play modes, the reels grind to a stop. Am i missing something with physics settings in-game vs test mode or anything?

If you’d like, you can grab the model here: IBM 729 Magnetic Tape Unit - Roblox

1 Like

you must show the script please

2 Likes
local drive = script.Parent

local fileReel = drive:FindFirstChild(“FileReel”)
local fileSpin = fileReel:FindFirstChild(“AngularVelocity”, true)
local machineReel = drive:FindFirstChild(“MachineReel”)
local machineSpin = machineReel:FindFirstChild(“AngularVelocity”, true)
local startClicker = drive:FindFirstChild(“StartButton”, true):FindFirstChild(“ClickDetector”)

local rnd = Random.new()

function onStartDrive()
if not fileSpin.Enabled then
fileSpin.Enabled = true
machineSpin.Enabled = true

	while true do
		wait(rnd:NextNumber(0.4, 0.8))

		fileSpin.AngularVelocity = Vector3.new(0, 0, 0)
		wait(0.1)
		machineSpin.AngularVelocity = Vector3.new(0, 0, 0)
		wait(0.5)	
		fileSpin.AngularVelocity = Vector3.new(-400, 0, 0)
		machineSpin.AngularVelocity = Vector3.new(-400, 0, 0)
	end
end

end

startClicker.MouseClick:Connect(function()
onStartDrive()
end)

– Autostart if desired

– Comment out if you want the player to click the start button on the drive,
– located at the top of the unit, bottom row of buttons, second from left
onStartDrive()

1 Like

sorry I dont realy see where is the problem here

1 Like

Yeah, it’s weird. Even if you take the script out of it and just enable the Angular Velocity, there’s still a problem. Thanks for looking :slight_smile:

1 Like