mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
e98fca1e5e
returns a pylist of contact points. Each point has the following data: 0 int m_contactFlags;//unused for now 1 int m_bodyUniqueIdA; 2 int m_bodyUniqueIdB; 3 int m_linkIndexA; 4 int m_linkIndexB; 5-6-7 double m_positionOnAInWS[3];//contact point location on object A, in world space coordinates 8-9-10 double m_positionOnBInWS[3];//contact point location on object A, in world space coordinates 11-12-13 double m_contactNormalOnBInWS[3];//the separating contact normal, pointing from object B towards object A 14 double m_contactDistance;//negative number is penetration, positive is distance. 15 double m_normalForce; |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
premake4.lua | ||
pybullet.c | ||
test.py | ||
testrender.py |