public Transform setTranslation(float x, float y, float z) {
        assert Float.isFinite(x) && Float.isFinite(y) && Float.isFinite(z) : "Invalid translation " + x + ", " + y + ", " + z;
        translation.set(x, y, z);
        return this;
    }
Sets the translation component to the specified values.

@param x the desired X offset
@param y the desired Y offset
@param z the desired Z offset
@return the (modified) current instance (for chaining)
jme3-core/src/main/java/com/jme3/math/Transform.java