hello!

I'm making a castle defense game and for an opening scene I have the castles flying down from the sky (don't ask why!) but for the second castle, instead of it going down and facing (0,180,0), it just goes crazy. I have been having this problem for about 2 days now and cannot figure it out!

I have tried:

local cframe = CFrame.new(Vector3.new(workspace.CastleB.PrimaryPart.Position.X,workspace.CastleB.PrimaryPart.Position.Y - 1,workspace.CastleB.PrimaryPart.Position.Z))
	workspace.CastleB:SetPrimaryPartCFrame(cframe)
	workspace.CastleB:SetPrimaryPartCFrame(CFrame.new(workspace.CastleB.PrimaryPart.Position) * CFrame.Angles(0,180,0))

(im messy with code i know)

but it ain't seem to work!

can somebody have a solution to my problem?

thanks!

1 comment

0

Maybe change the Vector3.new to CFrame.new