Physics constraint components
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#ifndef Components_SliderConstraint_h__
|
||||
#define Components_SliderConstraint_h__
|
||||
|
||||
#include "Component.h"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
// http://bulletphysics.org/mediawiki-1.5.8/index.php/Constraints
|
||||
struct SliderConstraint : Component
|
||||
{
|
||||
// Create constraint between these entities
|
||||
EntityID EntityA;
|
||||
EntityID EntityB;
|
||||
};
|
||||
}
|
||||
#endif // Components_SliderConstraint_h__
|
||||
Reference in New Issue
Block a user