#Help with weld

1 messages · Page 1 of 1 (latest)

sage trail
#

Any output?

#

Messages i mean

tepid hearth
#

Use AlignPosition

small hamlet
#

Weld uses C0 and C1, use WeldConstraint

pearl quest
pearl quest
small hamlet
#
-- define the CFrame of Part0 and Part1

-- create weld constraint
local wc = Instance.new("WeldConstraint")
wc.Part0 = part0
wc.Part1 = part1
wc.Parent = workspace -- set it to a relevant parent
#

If you just wanted to make it so character models assume the same velocity as a platform though, welding probably isn't the best approach

#

you can set the AssemblyLinearVelocity of the platform and it will make any assemblies that interact with it move with that velocity

pearl quest
#

I have a part that follows a path

#

And i want to somehow move the player with the part

small hamlet
#

You could AlignPosition / AlignOrientation the RootRigAttachment

pearl quest
#

Someone above said that i could use it. I tried but i didnt know how to do it properly so it didnt work

small hamlet
#

For the rail grinding part itself, I would use a CylindricalConstraint w the ActuatorType set to Servo

pearl quest
#

Thanks for the help. i might ask again tomorrow 😅