public static enum CollisionManager.ColliderType extends java.lang.Enum<CollisionManager.ColliderType>
ContactInfo structure.| Enum Constant and Description |
|---|
AJL_CONTOUR
Newer method that uses the triangle intersections between meshes
to determine the actual intersection contours (and associated
penetration regions) between the meshes.
|
CONTINUOUS
Experimental collider for continuous collision detection.
|
SIGNED_DISTANCE
A collider based on using a signed-distance function to determine
interpenetration contacts between bodies.
|
TRI_INTERSECTION
Original method that finds all triangle intersections between the
meshes and groups these into regions to determine interpenetrating
vertices.
|
| Modifier and Type | Method and Description |
|---|---|
static CollisionManager.ColliderType |
fromString(java.lang.String str) |
static CollisionManager.ColliderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CollisionManager.ColliderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollisionManager.ColliderType TRI_INTERSECTION
public static final CollisionManager.ColliderType AJL_CONTOUR
public static final CollisionManager.ColliderType SIGNED_DISTANCE
AJL_CONTOUR, supports
only contacts based on vertex penetration, and at least
one of the colliding bodies must be non-deformable.public static final CollisionManager.ColliderType CONTINUOUS
public static CollisionManager.ColliderType[] values()
for (CollisionManager.ColliderType c : CollisionManager.ColliderType.values()) System.out.println(c);
public static CollisionManager.ColliderType 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 nullpublic static CollisionManager.ColliderType fromString(java.lang.String str)