From c30a3baad0d15d774c635c7a6ec8a35c0294f8be Mon Sep 17 00:00:00 2001 From: MakoEnergy Date: Sat, 9 May 2015 04:32:20 -0500 Subject: [PATCH] Added a method to retrieve the parameter flags to the btConeTwistConstraint. --- src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.h b/src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.h index e284da00e..0c0d10c8f 100644 --- a/src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.h +++ b/src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.h @@ -334,6 +334,11 @@ public: ///return the local value of parameter virtual btScalar getParam(int num, int axis = -1) const; + int getFlags() const + { + return m_flags; + } + virtual int calculateSerializeBufferSize() const; ///fills the dataBuffer and returns the struct name (and 0 on failure)