HolyLib Wiki

IPhysicsCollisionSet

IPhysicsCollisionSet

Methods

IPhysicsCollisionSet:DisableCollisions( number index2, number index1 )
Marks collisions to be disabled for the two indexes.
IPhysicsCollisionSet:EnableCollisions( number index2, number index1 )
Marks collisions to be enabled for the two indexes.
table IPhysicsCollisionSet:GetTable( )
Returns the lua table used by newindex and index
boolean IPhysicsCollisionSet:IsValid( )
Returns true if the collision query is still valid.
boolean IPhysicsCollisionSet:ShouldCollide( number index2, number index1 )
Returns true if the collision between the two objects are enabled.