I’m making a rocket launcher and using CFrame.new(pos,lookAt)
to orient the rocket at the final target, my only problem is that the Front face of the rocket is actually on the Back side. How can I make it so the Back face of the rocket will “LookAt” the target position instead of the Front face?
I think that instead of looking for a workaround solution you should fix the rotation. Disregard that if you have a valid use case.
Anyways I was able to do this.
(the decal is on the back side of the part)
So I first made the part look at the baseplate via workspace.Part.CFrame = CFrame.new(workspace.Part.Position, workspace.Baseplate.Position)
.
Then I rotated it 180 degrees so the back faces where the front would have been.
workspace.Part.CFrame = workspace.Part.CFrame*CFrame.Angles(0, math.pi, 0)
workspace.Part.CFrame = CFrame.new(workspace.Part.Position, workspace.Baseplate.Position)
workspace.Part.CFrame = workspace.Part.CFrame*CFrame.Angles(0, math.pi, 0)
6 Likes