public void setLocalRotation(Quaternion quaternion) {
        localTransform.setRotation(quaternion);
        setTransformRefresh();
    }
<code>setLocalRotation</code> sets the local rotation of this node.

@param quaternion the new local rotation (not null,
    {@code quaternion.norm()} approximately equal to 1, unaffected)
jme3-core/src/main/java/com/jme3/scene/Spatial.java