only report solver analytics if enabled using setPhysicsEngineParameter(reportSolverAnalytics=1)
This commit is contained in:
@@ -64,7 +64,7 @@ struct btContactSolverInfoData
|
||||
btScalar m_restitutionVelocityThreshold;
|
||||
bool m_jointFeedbackInWorldSpace;
|
||||
bool m_jointFeedbackInJointFrame;
|
||||
bool m_reportSolverAnalytics;
|
||||
int m_reportSolverAnalytics;
|
||||
};
|
||||
|
||||
struct btContactSolverInfo : public btContactSolverInfoData
|
||||
@@ -99,7 +99,7 @@ struct btContactSolverInfo : public btContactSolverInfoData
|
||||
m_restitutionVelocityThreshold = 0.2f; //if the relative velocity is below this threshold, there is zero restitution
|
||||
m_jointFeedbackInWorldSpace = false;
|
||||
m_jointFeedbackInJointFrame = false;
|
||||
m_reportSolverAnalytics = false;
|
||||
m_reportSolverAnalytics = 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user