Global CFM / ERP setting
Global CFM / ERP setting
Is there a global value of CFM & ERP? I have found methods to override global erp & cfm values in constraints, but I'd rather like to set the global ones. The problem is I can't find where to set them.
Re: Global CFM / ERP setting
Found
Code: Select all
btContactSolverInfo solverInfo = theDynamicsWorld->getSolverInfo();
solverInfo.m_erp = 0.8;
solverInfo.m_globalCfm = 0.1;
Re: Global CFM / ERP setting
Just for reference in case anybody searches and finds this:
you obviously have to do
btContactSolverInfo &solverInfo = theDynamicsWorld->getSolverInfo();
and not just solverInfo like in the posted example, or you'll just change a local copy!
you obviously have to do
btContactSolverInfo &solverInfo = theDynamicsWorld->getSolverInfo();
and not just solverInfo like in the posted example, or you'll just change a local copy!
Re: Global CFM / ERP setting
I am facing problem in my firefox while running the ERP software. It seems it is a java conflict. Whats the solution?
___________
Web Development Company | School Management System
___________
Web Development Company | School Management System