CommonLibSSE NG
RE::TESHavokUtilities Namespace Reference

Functions

void AddExplosionImpulse (NiAVObject *a_obj3D, hkVector4 &a_pos, float a_force, const HitData *a_hitData)
 
TESObjectREFRFindCollidableRef (const hkpCollidable &a_linkedCollidable)
 
NiAVObjectFindCollidableObject (const hkpCollidable &a_linkedCollidable)
 
float GetDamageForImpact (float a_mass, float a_speed)
 
float ScaleGameplayImpulseForce (float a_inputForce, bhkRigidBody *a_body, bool a_factorMass)
 

Function Documentation

◆ AddExplosionImpulse()

void RE::TESHavokUtilities::AddExplosionImpulse ( NiAVObject a_obj3D,
hkVector4 a_pos,
float  a_force,
const HitData a_hitData 
)

◆ FindCollidableObject()

NiAVObject* RE::TESHavokUtilities::FindCollidableObject ( const hkpCollidable a_linkedCollidable)

◆ FindCollidableRef()

TESObjectREFR* RE::TESHavokUtilities::FindCollidableRef ( const hkpCollidable a_linkedCollidable)

◆ GetDamageForImpact()

float RE::TESHavokUtilities::GetDamageForImpact ( float  a_mass,
float  a_speed 
)

◆ ScaleGameplayImpulseForce()

float RE::TESHavokUtilities::ScaleGameplayImpulseForce ( float  a_inputForce,
bhkRigidBody a_body,
bool  a_factorMass 
)