I seem to have a problem when trying to climb a ladder. I’m unable to climb it because either the tween is moving too fast or the ladder is too unstable due to the tween.
As you can see in the video, the player can’t climb the ladder smoothly
I can’t find any solutions on the forums or YouTube.
The Tween
local base = script.Parent.PrimaryPart
local Ts = game:GetService("TweenService")
local Info = TweenInfo.new(30, Enum.EasingStyle.Linear, Enum.EasingDirection.In, math.huge, false, 0)
local newCframe = base.CFrame + Vector3.new(0, 0, 500)
local tween = Ts:Create(base, Info, {CFrame = newCframe})
tween:Play()
If anyone can help me with this problem, that would be greatly appreciated.
Thank you in advance,
NotUD
If you tween an anchored part, it doesn’t update the velocity of the part, since the anchored part’s velocity will always be 0 for as long as it is anchored, which is why your character also wont move with it if you stand on top of it.
Change the AssemblyLinearVelocity (I think) to the velocity of your tween and it should work as you intend.
Just use them to move your object.
Weld it toghether first using WeldCOnstraint and move root of it using this constraints.
Or alternatively set velocity to a moving platform (complicated)