![]() |
VR-Forces 5.0.2 Developer's Guide
|
DtMunitionDispersalAngleDeterminant specifies how a burst of fire is dispersed around the target based on a configured dispersal angle from the shooter.

Static Public Member Functions | |
| static DtBaseMunitionDispersalDeterminant * | creator () |
Protected Attributes | |
| DtVector | myTopoDetLocation |
| DtDcm | myLocalToTopoDcm |
| DtDcm | myTopoToLocalDcm |
| double | myRange |
| double | myDispersalRange |
| double | myProbibilityEntityHit |
| std::vector< DtUUID > | myPossibleHitEntities |
Protected Attributes inherited from DtMunitionDispersalDeterminant | |
| const DtPhysicalWorld * | myPhysicalWorld |
| DtVector | myDetonationLocation |
| DtSimObjectReference | myShooter |
Protected Attributes inherited from DtBaseMunitionDispersalDeterminant | |
| DtMunitionDispersalParams * | myParams |
| DtMunitionDispersalAngleDeterminant::DtMunitionDispersalAngleDeterminant | ( | ) |
default constructor
|
virtual |
|
virtual |
Implements DtMunitionDispersalDeterminant.
|
virtual |
|
inlinestatic |
Creator function.
|
virtual |
Initializes the determinant for dispersal of a new set of detonations when the location of the shooter is known.
Reimplemented from DtMunitionDispersalDeterminant.
|
virtual |
Determines where the next round hits, and if it directly hits an entity. hitEntity will be invalid if no entity was hit. initializeDispersal must be called before calling this function.
Implements DtMunitionDispersalDeterminant.
|
protected |
|
protected |
|
protected |
|
protected |
Range from shooter to detonation.
|
protected |
Dispersal range of rounds around the primary detonation location.
|
protected |
The chance of a round hitting an entity directly.
|
protected |
The entities that may be hit.