Integrating physics engine, then exposing functions in pytho

IF I want to integrate a physics engine how are the physics functions exposed/bound in python?

Could you direct me to some reading on this…
Does this have to be done manually-- each function at a time, or is there some mechanism that would expose them automatically.



You have three choices:

  • do it manually

  • use a third-party tool like “SWIG” or “pyrex” or something like that.

  • use panda’s tool, “interrogate”

For the third option, you’ll want to have a look at the panda development wiki. I can’t remember the URL, but search the forums, it’s there.

  • Josh

Do any of these tools automatically expose all functions?
Or does each function have to be added manually?

Does use swig for the python interface?