Table of Contents

Class GlobalFunctions.TESHavokUtilities

Namespace
SkyrimForge.Game
Assembly
SkyrimForge.CommonLib.dll

The free functions CommonLib declares in RE::TESHavokUtilities.

public static class GlobalFunctions.TESHavokUtilities
Inheritance
GlobalFunctions.TESHavokUtilities
Inherited Members

Methods

FindCollidableObject<ThkpCollidable>(ThkpCollidable)

public static NiAVObject? FindCollidableObject<ThkpCollidable>(ThkpCollidable linkedCollidable) where ThkpCollidable : IhkpCollidable

Parameters

linkedCollidable ThkpCollidable

Returns

NiAVObject?

Type Parameters

ThkpCollidable

FindCollidableRef<ThkpCollidable>(ThkpCollidable)

public static ObjectReference? FindCollidableRef<ThkpCollidable>(ThkpCollidable linkedCollidable) where ThkpCollidable : IhkpCollidable

Parameters

linkedCollidable ThkpCollidable

Returns

ObjectReference?

Type Parameters

ThkpCollidable

GetDamageForImpact(float, float)

public static float GetDamageForImpact(float mass, float speed)

Parameters

mass float
speed float

Returns

float

ScaleGameplayImpulseForce(float, bhkRigidBody, bool)

public static float ScaleGameplayImpulseForce(float inputForce, bhkRigidBody body, bool factorMass)

Parameters

inputForce float
body bhkRigidBody
factorMass bool

Returns

float