CommonLibSSE NG
RE::hkpCollidable Class Reference

#include <hkpCollidable.h>

Inheritance diagram for RE::hkpCollidable:
RE::hkpCdBody RE::hkpLinkedCollidable

Classes

struct  BoundingVolumeData
 

Public Types

enum  BelongsTo : std::uint32_t { kTerrain = 1 << 16 }
 
enum  CollisionFilterInfo : std::uint32_t { kBelongsTo = 0xFFFF0000 , kCollidesWith = 0x0000FFFF }
 
enum class  ForceCollideOntoPpuReasons { kUserRequest = 1 << 0 , kShapeRequest = 1 << 1 , kModifierRequest = 1 << 2 , kShapeUnchecked = 1 << 3 }
 

Public Member Functions

COL_LAYER GetCollisionLayer () const
 
void * GetOwner () const
 
template<class T >
T * GetOwner () const
 
- Public Member Functions inherited from RE::hkpCdBody
const hkpShapeGetShape () const
 

Public Attributes

std::int8_t ownerOffset
 
std::uint8_t forceCollideOntoPpu
 
std::uint16_t shapeSizeOnSpu
 
hkpTypedBroadPhaseHandle broadPhaseHandle
 
BoundingVolumeData boundingVolumeData
 
float allowedPenetrationDepth
 
std::uint32_t pad6C
 
- Public Attributes inherited from RE::hkpCdBody
const hkpShapeshape
 
hkpShapeKey shapeKey
 
std::uint32_t pad0C
 
const void * motion
 
const hkpCdBodyparent
 

Member Enumeration Documentation

◆ BelongsTo

enum RE::hkpCollidable::BelongsTo : std::uint32_t
Enumerator
kTerrain 

◆ CollisionFilterInfo

Enumerator
kBelongsTo 
kCollidesWith 

◆ ForceCollideOntoPpuReasons

Enumerator
kUserRequest 
kShapeRequest 
kModifierRequest 
kShapeUnchecked 

Member Function Documentation

◆ GetCollisionLayer()

COL_LAYER RE::hkpCollidable::GetCollisionLayer ( ) const
inline

◆ GetOwner() [1/2]

void* RE::hkpCollidable::GetOwner ( ) const
inline

◆ GetOwner() [2/2]

template<class T >
T* RE::hkpCollidable::GetOwner ( ) const
inline

Member Data Documentation

◆ allowedPenetrationDepth

float RE::hkpCollidable::allowedPenetrationDepth

◆ boundingVolumeData

BoundingVolumeData RE::hkpCollidable::boundingVolumeData

◆ broadPhaseHandle

hkpTypedBroadPhaseHandle RE::hkpCollidable::broadPhaseHandle

◆ forceCollideOntoPpu

std::uint8_t RE::hkpCollidable::forceCollideOntoPpu

◆ ownerOffset

std::int8_t RE::hkpCollidable::ownerOffset

◆ pad6C

std::uint32_t RE::hkpCollidable::pad6C

◆ shapeSizeOnSpu

std::uint16_t RE::hkpCollidable::shapeSizeOnSpu

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