PyBullet: allow createVisualShape to pass vertices, indices, normals and uv coordinates. This can be combined with changeVisualShape to set the texture.
This commit is contained in:
@@ -932,6 +932,8 @@ struct b3CreateUserShapeData
|
||||
int m_visualFlags;
|
||||
int m_numVertices;
|
||||
int m_numIndices;
|
||||
int m_numUVs;
|
||||
int m_numNormals;
|
||||
double m_rgbaColor[4];
|
||||
double m_specularColor[3];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user