Player suddenly stops sticking to physics platform after a few seconds

Long story short, I have a part (cancollide on) that uses an AlignOrientation and AlignPosition to follow a rotating part (that’s being tweened with cancollide off). It seems to break after it has spun for a little bit, and then the player no longer follows on top, but stays in place. For the life of me, I can’t find any difference between before and after, as the part following the tweening part is still working as intended other than not bringing the player along with it.

Here is my tween code if it makes a difference:


local info1 = TweenInfo.new(30, Enum.EasingStyle.Linear, Enum.EasingDirection.In)



local t1 = TS:Create(spinmesh, info1, {CFrame = spinmesh.CFrame * CFrame.Angles(0, math.rad(120), 0)})
local t2 = TS:Create(spinmesh, info1, {CFrame = spinmesh.CFrame * CFrame.Angles(0, math.rad(240), 0)})
local t3 = TS:Create(spinmesh, info1, {CFrame = spinmesh.CFrame * CFrame.Angles(0, math.rad(360), 0)})

while true do
	t1:Play()
	t1.Completed:Wait()
	t2:Play()
	t2.Completed:Wait()
	t3:Play()
	t3.Completed:Wait()
end

If anyone has any suggestions or a possible fix, I’ll be here

1 Like

Likely a Roblox problem rather than you. Try using a BodyPosition and BodyGyro rather than AlignOrientation and AlignPosition.

Messed around with this for quite a bit, got it working perfectly without this bug. Thank you!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.