CollisionDetection(IList<Entity>, BlockKeyedCollection, Boolean, collisionCheckType, Int32, Int32) Constructor
Public Sub New( _
ByVal list As IList(Of Entity), _
ByVal blocksCollection As BlockKeyedCollection, _
Optional ByVal firstOnly As Boolean = true, _
Optional ByVal collisionCheckMethod As collisionCheckType = collisionCheckType.OB, _
Optional ByVal maxTrianglesNumForOctreeNode As Integer = 0, _
Optional ByVal maxTriangleEdgelength As Integer = 0 _
)
This language is not supported or no code example is available.
public CollisionDetection(
IList<Entity> list,
BlockKeyedCollection blocksCollection,
bool firstOnly = true,
collisionCheckType collisionCheckMethod = collisionCheckType.OB,
int maxTrianglesNumForOctreeNode = 0,
int maxTriangleEdgelength = 0
)
This language is not supported or no code example is available.
Parameters
the entity group to check each other
- blocksCollection
- BlockKeyedCollection
the collection of the blocks that defines/contains the entities for the BlockReferences in the entities list
- firstOnly
- bool
when true,the collision detection will stop at the first couple of intersecting entities found
- collisionCheckMethod
- collisionCheckType
the collision accuracy type
- maxTrianglesNumForOctreeNode
- int
the maximum number of triangles for each Octant of each entity's octree
- maxTriangleEdgelength
- int
The maximum edge length or triangle side length