Global CFM / ERP setting
-
- Posts: 9
- Joined: Mon Oct 18, 2010 8:53 am
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.
-
- Posts: 9
- Joined: Mon Oct 18, 2010 8:53 am
Re: Global CFM / ERP setting
Found
Code: Select all
btContactSolverInfo solverInfo = theDynamicsWorld->getSolverInfo();
solverInfo.m_erp = 0.8;
solverInfo.m_globalCfm = 0.1;
-
- Posts: 22
- Joined: Sat Nov 26, 2011 5:41 pm
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!
-
- Posts: 1
- Joined: Thu Oct 12, 2017 10:45 am
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