BallAndSocket ConeTwist Friction

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

BallAndSocket ConeTwist Friction

Postby Lax » Sat Jun 15, 2019 6:51 am

Hi,

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
Please support SecondEarthTechnicBase built of Lego bricks for Lego ideas: https://ideas.lego.com/projects/81b9bd17-5ff5-40a0-ac6f-44b97b79be62
Image
Lax
 
Posts: 165
Joined: Sat Jan 08, 2011 8:24 am

Re: BallAndSocket ConeTwist Friction

Postby Julio Jerez » Sun Jun 16, 2019 11:15 am

Oh I was do doing an improvement, I will re enable letter today. Sorry about that.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: BallAndSocket ConeTwist Friction

Postby Lax » Tue Jun 18, 2019 3:02 pm

Ok, thanks, no problem.
Please support SecondEarthTechnicBase built of Lego bricks for Lego ideas: https://ideas.lego.com/projects/81b9bd17-5ff5-40a0-ac6f-44b97b79be62
Image
Lax
 
Posts: 165
Joined: Sat Jan 08, 2011 8:24 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 16 guests