ActorTests TestIfTwoActorsAreCollidingIn3D Method Delta Engine Documentation

Namespace: DeltaEngine.GameLogic.Tests
Assembly: DeltaEngine.GameLogic.Tests (in DeltaEngine.GameLogic.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void TestIfTwoActorsAreCollidingIn3D()
Examples

[Test]
public void TestIfTwoActorsAreCollidingIn3D()
{
    var actor1 = new MockActor(Vector3D.One, 1.0f);
    var actor2 = new MockActor(Vector3D.Zero, 0.0f);
    Assert.IsTrue(actor1.IsColliding(actor2));
}
See Also