CollisionDetection.AccurateIntersection Method

Checks if two entity intersect geometrically.
Protected Overrides Function AccurateIntersection( _ 
ByVal ent1 As Entity, _ 
ByVal ent2 As Entity, _ 
ByVal coincidencesAsCollision As Boolean, _ 
ByRef intersectionData As List(Of Entity) _ 
) As Boolean
This language is not supported or no code example is available.
protected override bool AccurateIntersection( 
Entity ent1
Entity ent2
bool coincidencesAsCollision
out List<Entity> intersectionData 
)
This language is not supported or no code example is available.

Parameters

ent1
Entity

the entity to check intersection with second

ent2
Entity

the entity to check intersection with first

coincidencesAsCollision
bool

When false doesn't consider the coincidences as intersections.

intersectionData
List<Entity>

The information about the volumes and/or position of collisions

Return Value

bool

True if the two entities intersect.

.NET Framework

Supported in: 4.8

In this article

Definition