Crash bug when "mesh" applied twice fixed
Constraints reworked - all of them could now work with one or two bodies Modification of constraint frames and initial positions of rigid bodies now allowed at start frame only Plugin version is set to 2.76
This commit is contained in:
@@ -18,6 +18,9 @@ not be misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
|
||||
Written by: Herbert Law <Herbert.Law@gmail.com>
|
||||
|
||||
Modified by Roman Ponomarev <rponom@gmail.com>
|
||||
01/22/2010 : Constraints reworked
|
||||
*/
|
||||
|
||||
//hingeConstraintNode.h
|
||||
@@ -62,11 +65,13 @@ public:
|
||||
public:
|
||||
|
||||
hinge_constraint_t::pointer constraint();
|
||||
void update();
|
||||
|
||||
public:
|
||||
|
||||
//Attributes
|
||||
static MObject ia_rigidBody;
|
||||
static MObject ia_rigidBodyA;
|
||||
static MObject ia_rigidBodyB;
|
||||
static MObject ia_damping;
|
||||
|
||||
static MObject ia_lowerLimit;
|
||||
@@ -75,7 +80,11 @@ public:
|
||||
static MObject ia_biasFactor;
|
||||
static MObject ia_relaxationFactor;
|
||||
|
||||
static MObject ia_hingeAxis;
|
||||
static MObject ia_rotationInA;
|
||||
static MObject ia_rotationInB;
|
||||
|
||||
static MObject ia_pivotInA;
|
||||
static MObject ia_pivotInB;
|
||||
|
||||
static MObject ca_constraint;
|
||||
static MObject ca_constraintParam;
|
||||
@@ -89,7 +98,6 @@ public:
|
||||
static MString typeName;
|
||||
|
||||
private:
|
||||
void update();
|
||||
void computeConstraint(const MPlug& plug, MDataBlock& data);
|
||||
void computeConstraintParam(const MPlug& plug, MDataBlock& data);
|
||||
void computeWorldMatrix(const MPlug& plug, MDataBlock& data);
|
||||
|
||||
Reference in New Issue
Block a user