Walls and meshes, one sided ?
Hello Dion,
Is there any reason for having the walls and meshes only one side active?
In my case this can be very problematic because I would like to simulate a rotating cylinder with other geometry inside, so if the mesh is not one-sided, then the modelling can be very simple.
I've changed the function void CElasticWallInt
double dist=(this-
// console.XDebug() << "pos, rad, dist: " << this->m_p->getPos() << " " << this->m_p->getRad() << " " << dist << "\n";
double absdist = fabs(dist);
if(absdist<
Vec3 force=m_
Vec3 pos=this-
I want to make the same with triangular meshes, but I do not know if there is a strong reason for letting this interaction as one-sided.
When the tutorial regarding adding new models is on the launchpad, then I'll finish the new interaction models. when I have them, if you want I can send you the code.
Thanks in advance, best regards,
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Diego Peinado Martín
- Solved:
- Last query:
- Last reply: