You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
523 B
20 lines
523 B
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//
|
||
|
//=============================================================================//
|
||
|
|
||
|
// A set of collision rules
|
||
|
// NOTE: Defaults to all indices disabled
|
||
|
class IPhysicsCollisionSet
|
||
|
{
|
||
|
public:
|
||
|
~IPhysicsCollisionSet() {}
|
||
|
|
||
|
virtual void EnableCollisions( int index0, int index1 ) = 0;
|
||
|
virtual void DisableCollisions( int index0, int index1 ) = 0;
|
||
|
|
||
|
virtual bool ShouldCollide( int index0, int index1 ) = 0;
|
||
|
};
|