Page 1 of 1

Global CFM / ERP setting

Posted: Mon Oct 18, 2010 9:11 am
by Tomator
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

Posted: Mon Oct 18, 2010 12:47 pm
by Tomator
Found :)

Code: Select all

  btContactSolverInfo solverInfo = theDynamicsWorld->getSolverInfo();
  solverInfo.m_erp = 0.8;
  solverInfo.m_globalCfm = 0.1;

Re: Global CFM / ERP setting

Posted: Wed Jan 04, 2012 11:53 pm
by monkeyman
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! :)

Re: Global CFM / ERP setting

Posted: Thu Oct 12, 2017 12:33 pm
by sarahah
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