public Vector3f getPhysicsLocation(Vector3f trans) {
        if (trans == null) {
            trans = new Vector3f();
        }
        gObject.getWorldTransform(tempTrans);
        Converter.convert(tempTrans.origin, physicsLocation.getTranslation());
        return trans.set(physicsLocation.getTranslation());
    }
@param trans storage for the result (modified if not null)
@return the physicsLocation
jme3-jbullet/src/main/java/com/jme3/bullet/objects/PhysicsCharacter.java