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.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic bool Collides(
PhysicsBody bodyA,
PhysicsBody bodyB
)
Parameters
- bodyA PhysicsBody
- The first physics body.
- bodyB PhysicsBody
- The second physics body.
Return Value
BooleanTrue if the two physics bodies are tested against each other for collisions, false otherwise.
See Also