ezEngine  Release 25.03
ezPhysicsCastResult Struct Reference

Used for raycast and sweep tests. More...

#include <PhysicsQuery.h>

Public Attributes

ezVec3 m_vPosition
 
ezVec3 m_vNormal
 
float m_fDistance
 
ezGameObjectHandle m_hShapeObject
 The game object to which the hit physics shape is attached.
 
ezGameObjectHandle m_hActorObject
 The game object to which the parent actor of the hit physics shape is attached.
 
ezSurfaceResourceHandle m_hSurface
 The type of surface that was hit (if available)
 
ezUInt32 m_uiObjectFilterID = ezInvalidIndex
 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.
 
ezPhysicsHitType m_hitType = ezPhysicsHitType::Undefined
 Classification of the triangle face, see ezPhysicsHitType.
 
void * m_pInternalPhysicsShape = nullptr
 
void * m_pInternalPhysicsActor = nullptr
 

Detailed Description

Used for raycast and sweep tests.


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