MinieLibrary/src/main/java/com/jme3/bullet/objects/PhysicsRigidBody.java
/**
     * Compare Bullet's kinematic flag to the local copy.
     *
     * @return true if the flags are equal, otherwise false
     */
Compare Bullet's kinematic flag to the local copy.
@return true if the flags are equal, otherwise false
Compare Bullet ' s kinematic flag to the local copy . @return true if the flags are equal otherwise false
private boolean checkKinematicFlag() {
        if (mass == massForStatic) {
            return true;
        }
        long objectId = nativeId();
        int flags = getCollisionFlags(objectId);
        boolean nativeKinematicFlag
                = (flags & CollisionFlag.KINEMATIC_OBJECT) != 0x0;
        if (kinematic == nativeKinematicFlag) {
            return true;
        } else {
            return false;
        }
    }
private boolean checkKinematicFlag ( ) { if ( mass == massForStatic ) { return true ; } long objectId = nativeId ( ) ; int flags = getCollisionFlags ( objectId ) ; boolean nativeKinematicFlag = ( flags & CollisionFlag . KINEMATIC_OBJECT ) != 0x0 ; if ( kinematic == nativeKinematicFlag ) { return true ; } else { return false ; } }
Compare Bullet's kinematic flag to the local copy.
Compare Bullet ' s kinematic flag to the local copy .
// don't invoke getCollisionFlags(long) TODO