bulletphysics / bullet3

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.
http://bulletphysics.org
Other
12.18k stars 2.85k forks source link

Creating a constraint #4617

Open Sambertibus opened 1 month ago

Sambertibus commented 1 month ago

Hello everyone,

I am having some trouble creating a constraint in pybullet and need some clarification. According to the documentation, I need to specify both the Parent-Link-Index and the Child-Link-Index. However, when looking at the provided example (the quadruped), a joint index is given instead.

My question is: When specifying a joint index, does this correspond to the index of the Parent-Link or the Child-Link within the joint?

Thank you for your help!