QtCraft API C++ classes QML types Handbook

QcProjectileManager::Launch Struct

struct QcProjectileManager::Launch

A shot (a player's launcher, a creature's brain through QcMobBrain::Context::launches). More...

Public Variables

double damageFactor
QcProjectilePickup pickup
QcVec3 position
quint32 shooter
bool transient
QString type
QcVec3 velocity

Detailed Description

Member Variable Documentation

double Launch::damageFactor

QcProjectile::damageFactor.

QcProjectilePickup Launch::pickup

QcProjectile::pickup.

QcVec3 Launch::position

Where its centre starts.

quint32 Launch::shooter

Entity id of the shooter (0 for none).

bool Launch::transient

QcProjectile::transient.

QString Launch::type

Name of the QcProjectileDefinition.

QcVec3 Launch::velocity

Its velocity (m/s).