I'm trying to set the position and orientation of a model via the primary part.
local ClonedObS = workspace.Model
--Defined CFrames
local PositionCFrame = CFrame.new(1,5,19)
local OrientationCFrame = CFrame.fromEulerAnglesXYZ(math.rad(10), math.rad(1), math.rad(5))
ClonedObS:SetPrimaryPartCFrame(PositionCFrame, OrientationCFrame)) --This doesn't work for orientation
Is there a way I can set the position and orientation of a model in a CFrame?
ClonedObS:SetPrimaryPartCFrame(PositionCFrame)
ClonedObS:SetPrimaryPartCFrame(OrientationCFrame)
--Also doesn't work because it resets the previous CFrame
ClonedObS:SetPrimaryPartCFrame(OrientationCFrame)
ClonedObS:SetPrimaryPartCFrame(PositionCFrame)
--Same...

1 comment
CFrame.new(x,y,z,rx,ry,rz)