← Back to team overview

yade-users team mailing list archive

Re: differenciate box/sphere and sphere/sphere interaction

 

try this. I haven't tested that but it should be something like this:

int geometryIndex1 = (*bodies)[id1]->geometricalModel->getClassIndex();
int geometryIndex2 = (*bodies)[id2]->geometricalModel->getClassIndex();


Please tell if it works.

-- 
# Janek Kozicki
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users



Follow ups

References