Assuming that:
Transform house;
Transform plane;
then either:
house.rotation = plane.rotation;
or:
house.eulerAngles = plane.eulerAngles;
should do exactly what you want.
↧