To clarify my question Im trying to get the cframe of an object whos current orientation will return something like the red arrow, but I want to know how to get a cframe like the green arrow from that same object.
I am trying to get the cframe of an object where its cframe is only representative of its orientation on 1 axis instead of all 3. So for example if a part is facing forward and another one is facing in the same direction but slightly pointed upwards i want to find a way to get the cframe of the pointed object being the same as the one that is not rotated at all.