public void setRotation(Quaternion rotation) {
        this.rotation = rotation;
    }
Sets the rotation of the target.
This can be used only if direction Type is Direction.PathAndRotation or Direction.Rotation.
With PathAndRotation the target will face the direction of the path multiplied by the given Quaternion.
With Rotation the rotation of the target will be set with the given Quaternion.
@param rotation the rotation quaternion.
jme3-core/src/main/java/com/jme3/cinematic/events/MotionEvent.java