passed the rotation logic from the Matrix4 to the GameObject