分享

Python物理引擎

 sofes 2012-11-02

Python物理引擎  

2011-10-22 20:23:47|  分类: 默认分类 |字号 订阅

Python的强大源自众多领域大牛的支持,例如物理引擎方面,就有N多模块支持

http://pyode./

PyODE

PyODE is a set of open-source Python bindings for The Open Dynamics Engine, an open-source physics engine.

 

 

http://code.google.com/p/pymunk/

PyMunk

pymunk is a easy-to-use pythonic 2d physics library that can be used whenever you need 2d rigid body physics from Python. It is built on top of the very nice 2d physics library Chipmunk, http://code.google.com/p/chipmunk-physics/

Make 2d physics easy to include in your game :)

It is (or striving to be):

  • Easy to use It should be easy to use, no complicated stuff should be needed to add physics to your game/program.
  • "Pythonic" It should not be visible that a c-library (chipmunk) is in the bottom, it should feel like a python library (no strange naming, OO, no memory handling and more)
  • Simple to build & install You shouldnt need to have a zillion of libraries installed to make it install, or do a lot of command line trixs.
  • Multiplatform Should work on both windows, nix and OSX.
  • Non-intrusive It should not put restrictions on how you structure your program and not force you to use a special game loop, it should be possible to use with other libraries like pygame and pyglet.

http://code.google.com/p/pybox2d/

pybox2d

2D physics library for Python under the very liberal zlib license.

News

2011/5/20: Pure Python port

I started a new Pure Python port of Box2D recently (that means no more SWIG!). It's still in the early stages, but see here for more information.

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多