MinieLibrary/src/main/java/com/jme3/bullet/animation/PhysicsLink.java
/**
     * Copy the body's linear velocity, or an estimate thereof.
     *
     * @param storeResult storage for the result (modified if not null)
     * @return a new velocity vector (psu/sec in physics-space coordinates)
     */
Copy the body's linear velocity, or an estimate thereof.
@param storeResult storage for the result (modified if not null)
@return a new velocity vector (psu/sec in physics-space coordinates)
Copy the body ' s linear velocity or an estimate thereof . @param storeResult storage for the result ( modified if not null ) @return a new velocity vector ( psu / sec in physics - space coordinates )
Vector3f velocity(Vector3f storeResult) {
        Vector3f result = (storeResult == null) ? new Vector3f() : storeResult;
        if (isKinematic()) {
            result.set(kpVelocity);
        } else {
            assert !rigidBody.isKinematic();
            rigidBody.getLinearVelocity(result);
        }
        return result;
    }
Vector3f velocity ( Vector3f storeResult ) { Vector3f result = ( storeResult == null ) ? new Vector3f ( ) : storeResult ; if ( isKinematic ( ) ) { result . set ( kpVelocity ) ; } else { assert ! rigidBody . isKinematic ( ) ; rigidBody . getLinearVelocity ( result ) ; } return result ; }
Copy the body's linear velocity, or an estimate thereof.
Copy the body ' s linear velocity or an estimate thereof .