Torque3D Documentation / _generateds / afxMagicMissile

afxMagicMissile

consoledoc.h

Magic-missile class used internally by afxMagicSpell. Properties of individual missile types are defined using afxMagicMissileData.

More...

Physics

Point3F

Initial starting position for this missile.

Point3F

Initial starting velocity for this missile.

Public Static Attributes

bool

Disables rendering of all instances of this type.

bool

Disables selection of all instances of this type.

Public Functions

void
setStartingVelocity(float velocity)

Set the starting velocity for a magic-missile.

void
setStartingVelocityVector(Point3F velocityVec)

Set the starting velocity-vector for a magic-missile.

Detailed Description

Magic-missile class used internally by afxMagicSpell. Properties of individual missile types are defined using afxMagicMissileData.

Physics

Point3F initialPosition 

Initial starting position for this missile.

Point3F initialVelocity 

Initial starting velocity for this missile.

Public Static Attributes

bool isRenderable 

Disables rendering of all instances of this type.

bool isSelectable 

Disables selection of all instances of this type.

Public Functions

setStartingVelocity(float velocity)

Set the starting velocity for a magic-missile.

setStartingVelocityVector(Point3F velocityVec)

Set the starting velocity-vector for a magic-missile.