Torque3D Documentation / _generateds / AITurretShape::TargetInfo

AITurretShape::TargetInfo

Engine/source/T3D/turret/aiTurretShape.h

More...

Public Attributes

bool

Did we previously have a valid target?

The target's last known position.

The last time we saw the target.

The target's last known velocity.

Current target.

Public Functions

Detailed Description

Public Attributes

bool hadValidTarget 

Did we previously have a valid target?

Point3F lastPos 

The target's last known position.

SimTime lastSightTime 

The last time we saw the target.

VectorF lastVel 

The target's last known velocity.

SimObjectPtr< ShapeBase > target 

Current target.

Public Functions

TargetInfo()

hadTarget()

isValid()

reset()