@Override
    public void updateGeometricState() {
        super.updateGeometricState();
        if (channel < 0)
            return;
        Vector3f currentWorldTranslation = worldTransform.getTranslation();
        if (!previousWorldTranslation.equals(currentWorldTranslation)) {
            getRenderer().updateSourceParam(this, AudioParam.Position);
            if (velocityFromTranslation && !Float.isNaN(previousWorldTranslation.x)) {
                velocity.set(currentWorldTranslation)
                        .subtractLocal(previousWorldTranslation).multLocal(1f / lastTpf);
                getRenderer().updateSourceParam(this, AudioParam.Velocity);
            }
            previousWorldTranslation.set(currentWorldTranslation);
        }
    }
Set the audio node as positional.
The position, velocity, and distance parameters affect positional
audio nodes. Set to false if the audio node should play in "headspace".

@param positional True if the audio node should be positional, otherwise
false if it should be headspace.
jme3-core/src/main/java/com/jme3/audio/AudioNode.java