Calculates collision of the 2 faces given in vertices1 and vertices2.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public bool TestCollision(
	Vector3[] vertices1,
	Vector3[] vertices2
)

Parameters

vertices1
Type: array< Vector3 >[]()[]
First array Vector3 with location of the vertexes of the first face.
vertices2
Type: array< Vector3 >[]()[]
Second array Vector3 with location of the vertexes of the second face.

Return Value

Returns trueTruetruetrue (True in Visual Basic) if the faces collide.

See Also