Search found 3 matches

by pasta99
Fri Mar 12, 2021 2:01 pm
Forum: PyBullet Support and Feedback
Topic: Edit in API not used
Replies: 0
Views: 18563

Edit in API not used

I want to edit the C++ API b3RobotSimulatorClientAPI_NoDirect to add a feature. But after some tries I realised, that the edits are not used when I call the function (I even added a return statement in the beginning of the function but it does not return). I build all files beforehand so I have no i...
by pasta99
Wed Mar 10, 2021 9:34 am
Forum: PyBullet Support and Feedback
Topic: Create collision shape manually with API
Replies: 2
Views: 33728

Re: Create collision shape manually with API

Thanks for the reply. I added a btAlignedObjectArray for the vertices and indices to the args. In the API I added following code: if (shapeType == GEOM_MESH && args.m_numVertices) { int numVertices = args.m_numVertices; int numIndices = args.m_numIndices; double* vertices = &args.m_verti...
by pasta99
Mon Mar 08, 2021 6:27 am
Forum: PyBullet Support and Feedback
Topic: Create collision shape manually with API
Replies: 2
Views: 33728

Create collision shape manually with API

I want to use the b3RobotSimulatorClientAPI similar to the Pybullet API in C++ code. In the pybullet examples it is possible to create meshes by hand like so: https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/examples/createMesh.py . Unfortunately there is no vertices and indice...