Get scripted entity to take physics damage

I have a scripted entity that takes damage and breaks upon death, but I can’t find how to make it take physics damage.
Physics damage meaning something thrown against it, or it thrown against something else, etc.

If you cannot find a real solution you could jerry-rig it and use the touch hook, get the entity’s velocity and apply damage depending on that.

[editline]20th July 2013[/editline]

Can’t you use the OnTakeDamage hook and then use CTakeDamageInfo:GetDamageType( ) and see if it is physic related

Any physics damage isn’t calling OnTakeDamage.

[lua]function ENT:OnTakeDamage(dmginfo)

I think that’s what you want.

That will cause the entity to take physics damage when ever it takes any damage. The problem is that it doesn’t take any damage when it should take physics damage.