The kCModel(CModel) global stores collision results when certain actor methods are called. Those methods are as follows: GetSectorIndexAtLocation const bool CanSee(kActor@, const uint = 0) MoveToPosition SpawnProjectile bool CheckPosition(const kVec3 &in) More...
Public Member Functions | |
kVec3 & | InterceptVector () |
Returns the vector that intersected the collided geometry. | |
kVec3 & | ContactNormal () |
Returns the normalized vector of the collided surface. | |
const float & | Fraction () |
returns the 0.0 - 1.0 range of the point of intersection from start to end trace. (If fraction is == 1.0 then no intersection occured.) | |
const uint | ClipResult () |
specifies the type of intersection (flags) | |
kActor | ContactActor () |
handle pointer to actor that was collided (null if none was collided) | |
kVec3 & | MoveDirection () |
Movement vector of the object. | |
The kCModel(CModel) global stores collision results when certain actor methods are called. Those methods are as follows: GetSectorIndexAtLocation const bool CanSee(kActor@, const uint = 0) MoveToPosition SpawnProjectile bool CheckPosition(const kVec3 &in)
Definition at line 1352 of file t1_scriptAPI.cpp.
const uint kCModel::ClipResult | ( | ) |
specifies the type of intersection (flags)
kActor kCModel::ContactActor | ( | ) |
handle pointer to actor that was collided (null if none was collided)
kVec3 & kCModel::ContactNormal | ( | ) |
Returns the normalized vector of the collided surface.
const float & kCModel::Fraction | ( | ) |
returns the 0.0 - 1.0 range of the point of intersection from start to end trace. (If fraction is == 1.0 then no intersection occured.)
kVec3 & kCModel::InterceptVector | ( | ) |
Returns the vector that intersected the collided geometry.
kVec3 & kCModel::MoveDirection | ( | ) |
Movement vector of the object.