public static enum CollisionBehavior.Method extends java.lang.Enum<CollisionBehavior.Method>
| Enum Constant and Description | 
|---|
| CONTOUR_REGIONContact constraints are generated by fitting a plane to each mesh
 penetration region and then projecting the region onto that plane. | 
| DEFAULTSelect the method most appropriate depending on whether
 the colliding bodies are rigid or deformable. | 
| INACTIVENo constraints are generated. | 
| VERTEX_EDGE_PENETRATIONContact constraints are generated in the same way as for  VERTEX_PENETRATION, with additional constraints created for edge-edge
 contacts. | 
| VERTEX_PENETRATIONA contact constraint is generated for each mesh vertex that
 interpenetrates the other mesh, with the normal direction
 determined by finding the nearest point on the opposing
 mesh. | 
| VERTEX_PENETRATION_BILATERALCurrently the same as  VERTEX_PENETRATION. | 
| Modifier and Type | Method and Description | 
|---|---|
| static CollisionBehavior.Method | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static CollisionBehavior.Method[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final CollisionBehavior.Method DEFAULT
public static final CollisionBehavior.Method VERTEX_PENETRATION
CollisionBehavior.setCompliance(double))
 or constraint reduction is enabled (see CollisionBehavior.setReduceConstraints(boolean)).public static final CollisionBehavior.Method VERTEX_EDGE_PENETRATION
VERTEX_PENETRATION, with additional constraints created for edge-edge
 contacts. This can be useful in situations where one or both of the
 colliding meshes are coarse and penetrating vertices may hence not
 always be present. However, this method is experimental and not used
 by default.public static final CollisionBehavior.Method CONTOUR_REGION
public static final CollisionBehavior.Method VERTEX_PENETRATION_BILATERAL
VERTEX_PENETRATION.public static final CollisionBehavior.Method INACTIVE
public static CollisionBehavior.Method[] values()
for (CollisionBehavior.Method c : CollisionBehavior.Method.values()) System.out.println(c);
public static CollisionBehavior.Method valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null