PhysObj/IsPenetrating

From Garry's Mod
Jump to: navigation, search
 PhysObj:IsPenetrating( )

Description

Returns whenever the physics object is penetrating another physics object.

This is internally implemented as
PhysObj:HasGameFlag( FVPHYSICS_PENETRATING )
and thus is only updated for non-static physics objects.

Returns

boolean

Whether the physics object is penetrating another object.
Personal tools
Navigation