Hello DevFourm, I’m not sure if this should work but here’s my problem:
So I am making a Part Editor in my game where you can edit and spawn your parts that you have created with this Part Editor. I want to make a feature where you can drag the part to rotate it around. I figured out that DragDetectors have a “RotateTrackBall” drag style, so I tried adding one to the editor’s part. However, when in the editor, the DragDetector does not work.
Heres a video to better explain the problem:
The camera CFrame changes to the “Cam” parts CFrame in the workspace. For some reason the DragDetector IS ENABLED but doesn’t do anything.
here is the function that Creates the DragDetector:
function createPart(plr)
local part = Instance.new("Part")
--local music = editorMusic[math.random(1, #editorMusic)]
part.Material = Enum.Material.SmoothPlastic
part.Parent = workspace.CurrentPart
part.Anchored = true
part.Position = partPos.Position
local dragDect = Instance.new("DragDetector")
dragDect.Parent = part
dragDect.DragStyle = Enum.DragDetectorDragStyle.RotateTrackball
eventOpen:FireClient(plr)
end
I know this might be a simple fix but thank you