public Transform physicsTransform(Transform storeResult) {
        Transform result
                = (storeResult == null) ? new Transform() : storeResult;
        if (isKinematic()) {
            result.set(kpTransform);
        } else {
            rigidBody.getPhysicsLocation(result.getTranslation());
            rigidBody.getPhysicsRotation(result.getRotation());
            result.setScale(rigidBody.getCollisionShape().getScale());
        }

        return result;
    }
Calculate a physics transform for the rigid body (to match the skeleton
bone).

@param storeResult storage for the result (modified if not null)
@return the calculated transform (in physics-space coordinates, either
storeResult or a new transform, not null)
jme3-jbullet/src/main/java/com/jme3/bullet/animation/PhysicsLink.java