MinieLibrary/src/main/java/com/jme3/bullet/PhysicsSoftSpace.java
/**
     * Test whether the specified collision object is added to this space.
     *
     * @param pco the object to test (not null, unaffected)
     * @return true if currently added, otherwise false
     */
Test whether the specified collision object is added to this space.
@param pco the object to test (not null, unaffected)
@return true if currently added, otherwise false
Test whether the specified collision object is added to this space . @param pco the object to test ( not null unaffected ) @return true if currently added otherwise false
@Override
    public boolean contains(PhysicsCollisionObject pco) {
        boolean result;
        if (pco instanceof PhysicsSoftBody) {
            long pcoId = pco.nativeId();
            result = softBodyMap.containsKey(pcoId);
        } else {
            result = super.contains(pco);
        }
        return result;
    }
@ Override public boolean contains ( PhysicsCollisionObject pco ) { boolean result ; if ( pco instanceof PhysicsSoftBody ) { long pcoId = pco . nativeId ( ) ; result = softBodyMap . containsKey ( pcoId ) ; } else { result = super . contains ( pco ) ; } return result ; }
Test whether the specified collision object is added to this space.
Test whether the specified collision object is added to this space .