Name | Description | |
---|---|---|
CollisionDetection2D Constructor | Overloaded. |
The following tables list the members exposed by CollisionDetection2D.
Name | Description | |
---|---|---|
CollisionDetection2D Constructor | Overloaded. |
Name | Description | |
---|---|---|
_checkMethod |
Name | Description | |
---|---|---|
_allToAll | When true, it detects collition from a unique list of entities intersecting each others. When false, it takes two list of separate object. Detects wich entities of the first list intersect what of the second. | |
_entities1 | ||
_entities2 | ||
blocks | ||
currentProgress | ||
maxNumElemForQuadTreeNode |
Name | Description | |
---|---|---|
CheckMethod | Gets or sets the collision accuracy type. | |
CoincidenceAsCollision | When true it considers the coincidence between objects as collision. It avoids them otherwise. | |
FirstOnly | When true the collision detection will stop at the first entities tuple found. | |
obbCollisionText | Gets or sets the "Collision detection..." text string. | |
octreeCollisionText | Gets or sets the "Collision detection with QuadTree..." text string. | |
preCollisionText | Gets or sets the "Preparing data..." text string. | |
Result | The resulting tuple of entities intersecting each other. |
Name | Description | |
---|---|---|
ClearCache | Removes all the objects defined for collision detection. |
Name | Description | |
---|---|---|
BuildEntityTree | ||
ComputeLeafsTrees | ||
ComputeOrientedBoundings | Computes the oriented bounding rect/box for all the entities in the groups (or update only the modified entities) | |
FillCollidedTuple | ||
GetEntitiesToBuildTree | ||
GetEntityForSubdivisionTree | ||
IntersectOB | Check intersection between Oriented Bounding (Rect or Box) of two root entities (the entities can be BlockReference), by using SAT algorithm. | |
IntersectTree | Check intersection between Octrees of two root entities (the entities can be BlockReference), by using SAT algorithm. | |
OrientedBoundingBoxCollision | Check collision among oriented bounding boxes of the entities groups | |
PrepareToDetectCollision | Computes the collision detection data needed during the check. | |
TreesCollision | Check collision among octrees of the entities groups |