ENTITY:PhysicsCollide
Description
Called when the entity collides with anything via physics objects. The move type and solid mode must be VPHYSICS
for the hook to be called.
This hook only works for anim
type entities.
This is different from ENTITY:Touch.
If you want to use this hook on default/engine/non-Lua entities (like
prop_physics
), use Entity:AddCallback instead! This page describes a hook for Lua scripted entities