ACF_GetHitAngle

S

Part of _G (Global) namespace

function ACF_GetHitAngle( HitNormal , HitVector )
View on GitHub|lua/acf/server/sv_acfdamage.lua:1330-1337
👁️ 0 viewsUpdated 2 hours ago
⚠️

Verification Needed

This function has no documentation yet.

Description

No description available.

Parameters

NameTypeDescription
HitNormalany
HitVectorany

Returns

No return values documented.

Examples

No examples available.

Used In(5 locations)

📄lua/acf/server/sv_acfdamage.lua
4 usages
L681local Angle = ACF_GetHitAngle( SpallRes.HitNormal , HitVec )
L778local Angle = ACF_GetHitAngle( HitNormal , Bullet["Flight"] )
L871local Angle = ACF_GetHitAngle( HitNormal, Bullet.Flight )
📄lua/entities/gmod_wire_expression2/core/custom/acf.lua
1 usage
L1344local eff = ent.ACF.Armour / abs(cos(rad(ACF_GetHitAngle(this.HitNormal, this.HitPos - this.StartPos))))