Projectile Missile Property Delta Engine Documentation

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

public HierarchyObject3D Missile { get; }

Property Value

Type: HierarchyObject3D
Remarks

Tests: DeltaEngine.GameLogic.Tests.ProjectileTests
Examples

1 unit tests call DeltaEngine.GameLogic.Projectile.Missile
[Test, CloseAfterFirstFrame]
public void DisposalDisposesMissile()
{
    var missile = new PhysicalEntity3D();
    var grenade = new Projectile(Vector3D.Zero, Vector3D.Zero, missile, 1, 0.2f);
    grenade.IsActive = false;
    Assert.IsFalse(missile.IsActive);
}
See Also