Expose axis vector of PrismaticJoint and WheelJoint (fixes #1176)

This commit is contained in:
airstruck
2016-07-07 21:13:49 +02:00
parent debea1192b
commit 24da8433d0
7 changed files with 43 additions and 0 deletions
+7
View File
@@ -114,6 +114,13 @@ public:
**/
float getSpringDampingRatio() const;
/**
* Gets the axis unit vector, relative to body1.
* @returns The X component of the axis unit vector.
* @returns The Y component of the axis unit vector.
**/
int getAxis(lua_State *L);
private:
// The Box2D wheel joint object.