Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you use Vector3 with a weld?

I'm not sure why my part won't move when i put the Vector3 script in it. My Friends have said its because its welded, so is there a way to use Vector3 to rotate on the Z axis while there is a weld? I also tried removing the weld but it just breaks the model.

1 answer

Weld coordinates use CFrame values, not Vector3 values. This is because you also need to encode a rotation (which CFrame does and Vector3 does not).

In the event that all you need is the default rotation, then CFrame.new(someVectorValue) will construct that corresponding CFrame.

1 comment

0

It tried that it didn't work, weird. Alright so what I'm trying to make is a horse and Carriage for my Nation that I am in. I want it so when your on the Saddle of the horse Greater then 1 the wheels start rotating. Heres what I got. bin = game.workspace Saddle = game.Workspace.Horse Carraige.Saddle wheel = script.Parent if Saddle.Throttle < 1 while true do CFrame.new(0, 0, 15) CFrame.new(0, 0

This discussion is preserved as it was. New answers, comments, and votes are closed.