tree rotation

unable to finish the auto rotation of treeParts