Hi,
as I think, there are some more people interested in the status of the
physics module (especially Peter :-), Zhang Fan works on, here's a short
note about its current state.
What was initially planned?
* World support with body and joint management, gravity and damping
* Body support with mass, shape, velocity, friction, torque,
rotation value, linear and rotational damping
* Joint support including distance joints
* Shape support with AABB and OBB collision detection, rectangular,
polygonal and circle shapes
What has been accomplished so far?
* World support is fully implemented
* Body support is fully implemented
* Joint support is fully implemented including recently added revolute
joints
* Shape support is implemented with AABB collision detection and
rectangular shape support
Most parts of the module are stable and work as supposed. It lacks large
optimizations, especially for the collision detection, but those are
areas being worked on later.
At the moment the internals and documentation are brushed up, examples
are added and improved and the interfaces are cleaned up.
Though its python examples use pygame, the current design allows it to
be used in any python application or C extension. This might make it an
interesting alternative to existing physics solutions, if you need a
small fully python-based physics framework.
Grab yourself a SVN copy today and give it a try.
svn co svn://seul.org/svn/pygame/branches/physics
Regards
Marcus
Attachment:
pgpLL1h6YyWNN.pgp
Description: PGP signature