XII Release 0.1.0
Loading...
Searching...
No Matches
xiiPhysicsCastResult Struct Reference

Used for raycast and seep tests. More...

#include <PhysicsQuery.h>

Public Attributes

xiiVec3 m_vPosition
 
xiiVec3 m_vNormal
 
float m_fDistance
 
xiiGameObjectHandle m_hShapeObject
 The game object to which the hit physics shape is attached.
 
xiiGameObjectHandle m_hActorObject
 The game object to which the parent actor of the hit physics shape is attached.
 
xiiSurfaceResourceHandle m_hSurface
 The type of surface that was hit (if available)
 
xiiUInt32 m_uiObjectFilterID = xiiInvalidIndex
 An ID either per object (rigid-body / ragdoll) or per shape (implementation specific) that can be used to ignore this object during raycasts and shape queries.
 
xiiPhysicsHitType m_hitType = xiiPhysicsHitType::Undefined
 Classification of the triangle face, see xiiPhysicsHitType.
 
void * m_pInternalPhysicsShape = nullptr
 
void * m_pInternalPhysicsActor = nullptr
 

Detailed Description

Used for raycast and seep tests.


The documentation for this struct was generated from the following file: