Garry's Mod Wiki

Entity:TakePhysicsDamage

  Entity:TakePhysicsDamage( CTakeDamageInfo dmginfo )

Description

Applies forces to our physics object in response to damage.

Arguments

1 CTakeDamageInfo dmginfo
The damageinfo to apply. Only CTakeDamageInfo:GetDamageForce and CTakeDamageInfo:GetDamagePosition are used.