PyBullet: allow to pass vertices (for convex) and vertices+indices (for concave) to createCollisionShape
See createObstacleCourse.py for an example use. At the moment a limit of 1024 vertices and 1024 indices. Will be lifted once we implement the streaming version (soon).
This commit is contained in:
1 parent
9c1db5fb34
commit
a44df2b0a6
9 files changed
+318
-11
No files matched your search
@@ -80,6 +80,7 @@ struct UrdfGeometry
|
||||
FILE_COLLADA = 2,
|
||||
FILE_OBJ = 3,
|
||||
FILE_CDF = 4,
|
||||
MEMORY_VERTICES = 5,
|
||||
|
||||
};
|
||||
int m_meshFileType;
|
||||
|
||||
Reference in new issue
Block a user