Plasma Engine  2.0
Loading...
Searching...
No Matches
plPhysicsCastResult Struct Reference

Used for raycast and sweep tests. More...

#include <PhysicsWorldModule.h>

Public Attributes

plVec3 m_vPosition
 
plVec3 m_vNormal
 
float m_fDistance
 
plGameObjectHandle m_hShapeObject
 The game object to which the hit physics shape is attached.
 
plGameObjectHandle m_hActorObject
 The game object to which the parent actor of the hit physics shape is attached.
 
plSurfaceResourceHandle m_hSurface
 The type of surface that was hit (if available)
 
plUInt32 m_uiObjectFilterID = plInvalidIndex
 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.
 
plPhysicsHitType m_hitType = plPhysicsHitType::Undefined
 Classification of the triangle face, see plPhysicsHitType.
 
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: