Click or drag to resize

PhysicsEngineCollides(PhysicsBody, PhysicsBody) Method

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: 19.00.00
Syntax
C#
public bool Collides(
	PhysicsBody bodyA,
	PhysicsBody bodyB
)

Parameters

bodyA  PhysicsBody
The first physics body.
bodyB  PhysicsBody
The second physics body.

Return Value

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