I understand that I can have a part’s front face face a Vector3 point by setting its cframe to a new cframe and putting the Vector3 point as the second parameter, how would I make the right or left surface of a part face it?
you could make it face the Vector3 point with the second parameter and then rotate it by 90 degrees on the x,y or the z axis, you could also try this
local unit = (Point-Part.Position).Unit
local cross = unit:Cross(Vector3.new(-1,0,0))
Part.CFrame = CFrame.fromMatrix(Part.Position,unit( if you want the right surface to face it),cross)
hope this helped
2 Likes
Oh, I feel silly that I didn’t think of that