This is a change I made quite a while ago. Contact materials are now associated with collision shapes (so that you can have multiple different materials in the collision material of any given body). See https://github.com/projectchrono/chrono/blob/main/CHANGELOG.md#changed-collision-shapes-and-contact-materials (by the way, the CHANGELOG file is a good resource for all major API changes in Chrono). And look in the various demos distributed with Chrono.
--Radu From: [email protected] <[email protected]> On Behalf Of Chao Zhang Sent: Tuesday, 6 December 2022 14:04 To: ProjectChrono <[email protected]> Subject: [chrono] Function: SetMaterialSurface() is missed in ChBody Hi, everyone! I'm using the newest version of Chrono, now I want to give each body in the system a ChMaterialSurface material. But I found that Function: SetMaterialSurface() is missed in ChBody. -- 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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/c6c57c08-d0af-4c4f-a27a-57a3a9c9de49n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/c6c57c08-d0af-4c4f-a27a-57a3a9c9de49n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/PH0PR06MB8237E09BBCB82DB77E1B5209A71B9%40PH0PR06MB8237.namprd06.prod.outlook.com.
