Class DacUserFilter

java.lang.Object
jme3utilities.minie.DacUserFilter
All Implemented Interfaces:
BulletDebugAppState.DebugAppStateFilter

public class DacUserFilter extends Object implements BulletDebugAppState.DebugAppStateFilter
A simple DebugAppStateFilter that selects physics objects associated with a specific DynamicAnimControl. Instances are immutable.
  • Constructor Details

    • DacUserFilter

      public DacUserFilter(DacLinks dac)
      Instantiate a filter for the specified DynamicAnimControl.
      Parameters:
      dac - the desired DynamicAnimControl, or null to display/dump objects with no DynamicAnimControl
  • Method Details

    • displayObject

      public boolean displayObject(Object physicsObject)
      Test whether the specified physics object should be displayed/dumped. Note: recursive!
      Specified by:
      displayObject in interface BulletDebugAppState.DebugAppStateFilter
      Parameters:
      physicsObject - the joint or collision object to test (unaffected)
      Returns:
      return true if the object should be displayed/dumped, false if it shouldn't be