I'm using the latest Newton 3 version and have a simple scenario, in which I have 2 kinematicbodies.
But somehow they do not collide anymore. As far as I remember. It worked in the past.
Strangly in the debug modus, as soon as I start my simulation. I get the following assert:
- Code: Select all
void dgSkeletonContainer::Finalize(dgInt32 loopJointsCount, dgBilateralConstraint** const loopJointArray)
{
dgAssert(m_nodeCount >= 1);
const dgDynamicBody* const rootBody = m_skeleton->m_body;
dgAssert (((rootBody->GetInvMass().m_w == dgFloat32 (0.0f)) && (m_skeleton->m_child->m_sibling == NULL)) || (m_skeleton->m_body->GetInvMass().m_w != dgFloat32 (0.0f)));
It says that the m_skeleton->m_child is NULL how can that be? I tried the kinematicbodies demo, and in this demo finalize is never called. Why is it called in my simulation?
I also set for both kinematic bodies:
- Code: Select all
NewtonCollisionSetMode(collision, 1)
and I integrate the velocity for both bodies.
I hope someone can help on this issue!
Best Regards
Lax