Rotating a Model Help

Hi! I’m trying how to figure out how to make this car turned the right way. The Chassis is its primary part but I don’t know how to rotate the whole object. Do I use CFrame.Rotate? If so, what would the code look like?
Images:

local Car = game.Workspace.Car 

Car.CFrame = Car.CFrame * CFrame.Angles(math.deg(0,90,0))

Also, I suggest you check this out

Edit: I made a mistake in the CFrame.Angles part

1 Like

Wouldn’t I need to make it do that the primary part is the one that would rotate the car or just the model?

oh wait its a model? lol didn’t notice that bit

local car = game.Workspace.Car

local newCFrame = car.PrimaryPart.CFrame * CFrame.Angles(math.deg(0,90,0)) --again I'm not sure about CFrame.Angles here so please check out the article I posted

car:SetPrimaryPartCFrame (newCFrame)
1 Like

No worries! I’ll take a look at it when I can and I’ll solution your reply if it works out. Thank you!

That didn’t work, however, it seems that when i rotate the part spawn, the car moves as well to its correct position. Thank you for the help!