this is what i have the the part orientation is at 0,90,0 but the model gets set to 116.62 the position works tho
clone:SetPrimaryPartCFrame(CFrame.new(part.position)*CFrame.Angles(part.Orientation.x,part.Orientation.y,part.Orientation.z))
this is what i have the the part orientation is at 0,90,0 but the model gets set to 116.62 the position works tho
clone:SetPrimaryPartCFrame(CFrame.new(part.position)*CFrame.Angles(part.Orientation.x,part.Orientation.y,part.Orientation.z))
CFrame.Angles requires you to input numbers in radiants in order to work properly.
You can turn a number into radiants with math.rad()
clone:SetPrimaryPartCFrame(CFrame.new(part.position) * CFrame.Angles(0,math.rad(90),0))
Note that you don't have to do math.rad(0) as it's equal to 0 anyways
;/
thanks for the help
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
clone:SetPrimaryPartCFrame(CFrame.new(part.position)*CFrame.Angles(math.rad(part.Orientation.x),math.rad(part.Orientation.y),math.rad(part.Orientation.z)))