I'm using the newest version of newton and experimenting with Ragdolls and friction.
When I use the ragdoll in debug mode, I always get an assert(0), because the cone friction is no more supported?
See dCustomBallAndSocket:
- Code: Select all
} else if (m_coneFriction != 0) {
dAssert(0);
// NewtonUserJointAddAngularRow(m_joint, 0.0f, &lateralDir[0]);
// NewtonUserJointSetRowAcceleration(m_joint, NewtonUserJointCalculateRowZeroAcceleration(m_joint));
// NewtonUserJointSetRowMinimumFriction(m_joint, -m_coneFriction);
// NewtonUserJointSetRowMaximumFriction(m_joint, m_coneFriction);
//
// dVector upDir(lateralDir.CrossProduct(coneDir0));
// NewtonUserJointAddAngularRow(m_joint, 0.0f, &upDir[0]);
// NewtonUserJointSetRowAcceleration(m_joint, NewtonUserJointCalculateRowZeroAcceleration(m_joint));
// NewtonUserJointSetRowMinimumFriction(m_joint, -m_coneFriction);
// NewtonUserJointSetRowMaximumFriction(m_joint, m_coneFriction);
}
Best Regards
Lax