#Help with weld
1 messages · Page 1 of 1 (latest)
Use AlignPosition
Weld uses C0 and C1, use WeldConstraint
By any chance could you show me an example of how its used
By any chance could you show me an example of how its used
-- 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
Basically what im trying to do is make rail grinding
I have a part that follows a path
And i want to somehow move the player with the part
You could AlignPosition / AlignOrientation the RootRigAttachment
Someone above said that i could use it. I tried but i didnt know how to do it properly so it didnt work
For the rail grinding part itself, I would use a CylindricalConstraint w the ActuatorType set to Servo
Ill remember to look into this tomorrow its 1am and im exhausted rn
Thanks for the help. i might ask again tomorrow 😅