- none
Moderators: Sascha Willems, Thomas
AntonSynytsia wrote:
- Non-uniform scaled collision (1,1,2) doesn't collide with other bodies.
- Flat convexhull crashes, while other flat shapes just remain static.
- Fractured compound doesn't work with the solver model set to 0 (exact).
arkdemon wrote:I think there is a bug when the NewtonBody's velocity is too high (or it may be normal): the body nearly never collides except if we put NewtonBodySetContinuousCollisionMode and then it starts to lag a bit
dgMatrix dgCollisionInstance::CalculateInertia () const
{
if (IsType(dgCollision::dgCollisionMesh_RTTI)) {
return dgGetZeroMatrix();
} else {
return m_childShape->CalculateInertiaAndCenterOfMass (m_aligmentMatrix, m_scale, m_localMatrix);
}
}
void dgBody::SetMassMatrix(dgFloat32 mass, dgFloat32 Ixx, dgFloat32 Iyy, dgFloat32 Izz)
//line 488
dgFloat32 Ixx1 = dgClamp (Ixx, dgFloat32 (0.001f) * mass, dgFloat32 (100.0f) * mass);
dgFloat32 Iyy1 = dgClamp (Iyy, dgFloat32 (0.001f) * mass, dgFloat32 (100.0f) * mass);
dgFloat32 Izz1 = dgClamp (Izz, dgFloat32 (0.001f) * mass, dgFloat32 (100.0f) * mass);
Users browsing this forum: No registered users and 8 guests