Physics constraint components

This commit is contained in:
2014-04-06 20:55:54 +02:00
parent a880e7f3e6
commit 412d53a1f7
3 changed files with 70 additions and 0 deletions
+16
View File
@@ -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__