You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static const unsigned int RigidBodyContactType = 0;
static const unsigned int ParticleRigidBodyContactType = 1;
static const unsigned int ParticleSolidContactType = 2;
To be clear when reading the source code, I think it's better to use static value when creating contacts_mt and contact constraints in void DistanceFieldCollisionDetection::collisionDetection(SimulationModel &model) such as
The contact type in
PositionBasedDynamics/Simulation/CollisionDetection.h
Line 14 in b142aad
is not useful at all and should be deleted, although it's not really used in the code.
I assume that
PositionBasedDynamics/Simulation/DistanceFieldCollisionDetection.h
Line 108 in b142aad
Thus, I think it should be corrected as follows:
To be clear when reading the source code, I think it's better to use static value when creating
contacts_mt
and contact constraints invoid DistanceFieldCollisionDetection::collisionDetection(SimulationModel &model)
such asPositionBasedDynamics/Simulation/DistanceFieldCollisionDetection.cpp
Line 163 in b142aad
The text was updated successfully, but these errors were encountered: