https://developer.roblox.com/en-us/api-reference/class/Rotate

I'm trying to find how I can insert a Rotate class, but I can't find it anywhere. I tried it with a script:

local rotate = Instance.new("Rotate")
rotate.Parent = game.Workspace
rotate.Part0 = game.Workspace.Part0
rotate.Part1 = game.Workspace.Part1

But it didn't work for me. Any ideas?

3 comments

0

..just use a motor surface hinge?

0

Isn't that different from Rotate, or is it just another name?

0

that's different. why do you need a rotate joint