Package jme3utilities.minie
Class DacUserFilter
java.lang.Object
jme3utilities.minie.DacUserFilter
- All Implemented Interfaces:
BulletDebugAppState.DebugAppStateFilter
A simple DebugAppStateFilter that selects physics objects associated with a
specific DynamicAnimControl. Instances are immutable.
-
Constructor Summary
ConstructorDescriptionDacUserFilter
(DacLinks dac) Instantiate a filter for the specified DynamicAnimControl. -
Method Summary
Modifier and TypeMethodDescriptionboolean
displayObject
(Object physicsObject) Test whether the specified physics object should be displayed/dumped.
-
Constructor Details
-
DacUserFilter
Instantiate a filter for the specified DynamicAnimControl.- Parameters:
dac
- the desired DynamicAnimControl, or null to display/dump objects with no DynamicAnimControl
-
-
Method Details
-
displayObject
Test whether the specified physics object should be displayed/dumped. Note: recursive!- Specified by:
displayObject
in interfaceBulletDebugAppState.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
-