Turning CFrame to Direction/Angle

Is there anyway for you to make CFrame have a directional orientation respective to a character. For example, an value that shows what angle you are looking at respective to the direction where your character is facing?

1 Like

Go to the sections “Relative Position” and “Relative Orientation” for a better understanding of how CFrame values work.

2 Likes

I think that is what this does…, but stolen: I don’t do maths :frowning:

	part = a:Clone()
	part.Size = Vector3.new(3,3,3)
	
	local rel = centerPoint:toObjectSpace(part.CFrame);
	part.CFrame = origin:toWorldSpace(rel);
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.