src/main/java/com/jme3/bullet/objects/PhysicsRigidBody.java
/**
     * Test whether this body's gravity can be overwritten by PhysicsSpace.
     *
     * @return false if this body's gravity can be overwritten, otherwise true
     */
Test whether this body's gravity can be overwritten by PhysicsSpace.
@return false if this body's gravity can be overwritten, otherwise true
Test whether this body ' s gravity can be overwritten by PhysicsSpace . @return false if this body ' s gravity can be overwritten otherwise true
public boolean isGravityProtected() {
        long objectId = nativeId();
        boolean result = !getUseSpaceGravity(objectId);
        return result;
    }
public boolean isGravityProtected ( ) { long objectId = nativeId ( ) ; boolean result = ! getUseSpaceGravity ( objectId ) ; return result ; }
Test whether this body's gravity can be overwritten by PhysicsSpace.
Test whether this body ' s gravity can be overwritten by PhysicsSpace .