Hi,
I am simulating a use case where a particle is falling on the ground and
get collided with the floor body.
For this, if I use 3D cube (ChTriangleMeshConnected) as the mesh for
particle body, the collision is detected but if I use 2D Quad (
ChTriangleMeshSoup) for particle then collision is not being detected and
particles passes through the floor.
My RandomGenerate funciton is like this:
virtual std::shared_ptr<chrono::ChBody> RandomGenerate(chrono::ChCoordsys<>
mcoords) override {
auto mbody = chrono_types::make_shared<chrono::ChBody>();
mbody->SetCoord(mcoords);
mbody->GetCollisionModel()->AddTriangleMesh(material,
triMeshSoup, true, true, mcoords.pos, mcoords.rot, 0.01);
return mbody;
};
Please let me know if anything is wrong in this or if there is any setting
or limitation to use 2D mesh.
Thanks & Regards,
Vivek
--
You received this message because you are subscribed to the Google Groups
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/2cdb5a3c-104b-4f21-9b2d-a7b9724d0719n%40googlegroups.com.