Click or drag to resize

PhysicsEngineCollides Method (PhysicsBody, PhysicsBody)

Whether the first physics object is tested for collisions against the second collision object by virtue of their groups.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public bool Collides(
	PhysicsBody bodyA,
	PhysicsBody bodyB
)

Parameters

bodyA
Type: Demo3D.VisualsPhysicsBody
The first physics body.
bodyB
Type: Demo3D.VisualsPhysicsBody
The second physics body.

Return Value

Type: Boolean
True if the two physics bodies are tested against each other for collisions, false otherwise.
See Also