Branches

physics

View source
physics
  • Contributors
    1. Loading...
Author Commit Message Labels Comments Date
250+ commits behind default.
Lenard Lindstrom
Added conditional Py_ssize_t declaration for Python 2.4
minz
add damping coefficient python interface add test5.py and Readme_Test_List.txt
minz
marcus
Removed joint->SolveConstraintPosition as it's superfluous. Renamed joint->SolveConstraintVelocity to joint->SolveConstraints. Added joint doc strings. Limited joint nachors to the body shapes.
marcus
Added python docs for the Body.
marcus
Added radians<->degrees conversion methods. Body.rotation and Body.angular_velocity now take degrees as values. Fixed shape inertia calculation on setting a new body mass.
marcus
Bodies now require a shape on creation. Disallowed changing a body shape Disallowed own shape implementations for now.
marcus
Added python docs for the World.
minz
Add other comments
minz
Add Comments of joint object
minz
comments on collision test and reaction are done. obsolete functions such as Partly_LB are deleted.
minz
comments on collision test is done.
marcus
World joint and body list properties return copies now instead of the real lists. Renamed World.body_list to World.bodies. Renamed World.joint_list to World.joints. Fixed RectShape inheritance. Added documentation notes.
marcus
Added doc notes to the collision functions
marcus
Minor doc changes. Renamed body.angle_velocity to body.angular_velocity.
marcus
Wrapped Joint function pointers to allow python inheritance. Added C API for revolute joints. Minor warning fixes.
minz
change some little bugs
minz
Delete Revolute joint init code to prevent users to use it now, will open in future
minz
Add a new test case(long chain test),see test4.py Solve Rotation bug(just a var name mistake) Add a new joint(RevoluteJoint),can't work properly now, the main bug of it is no collision exception list in framework,should be added in future.
minz
marcus
Added VS.NET 2005 solution. Added Win32 build batch file
minz
update tests for joint and collision (now test1.py looks right)
marcus
Limited body restitution to a range of [0,1]. Limited body friction to [0,inf). Limited world step time to [0, inf). Added python inheritance support to shapes for AABB collisions.
minz
add the test3.py to test the new collision method.
minz
new collision method
minz
a new collision method(tested)
minz
new collision test method(need be tested)
minz
add new c test
minz
Add damping method which can make simulation look stable
marcus
Added body shape setter and GetGlobalPos C API. Added type checks to C API functions. Added PyDistanceJoint_SetAnchors C API. Removed distance setter from DistanceJoint class. Renamed PyRectShape to PyRectShapeObject. Fixed internal PyJoint_Check and PyDistanceJoint_Check defines. Fixed some ref count issues. Fixed C tests to use the Python C API. Added Makefile for C tests.
marcus
Added copyright notice to all source files. Added first C API version, update installer to install the C header. This breaks the current C tests, though. Body class uses a shape attribute rather than bind_rect_shape() now. Renamed get_point_list() to get_points(). Renamed vector2 functions to match C API naming PyVector2_*. Made structures C99 compatible. Fixed shape and joint inheritances (hopefully).
marcus
Fixed collision test issue with assert(). Distance joints now use x,y tuples instead of complex numbers.
marcus
Fixed reference counts. Fixed value assignment for joint.distance
minz
marcus
Fixed tuple assignments for bodies. world.gravity now takes a tuple. Fixed output list for points.
marcus
Fixed renamed PG_AppendContact calls. Minor fixes to make it build again.
minz
minz
minz
test2.py can work
minz
minz
Add joint pygame render wrapper stuff.
minz
merge and solve conflicts
minz
Joint arbitrary anchor algorithm, some changes of simulation methods.
marcus
Use getter/setter implemenations instead of direct member access in Body class
marcus
Changed first body attributes to use x,y tuples instead of complex values.
marcus
Fixed various gcc warnings. Removed OpenGL tests. Changed structure fields and variables to be PyObjects, not specific types.
minz
free anchors of joints algorithm are added, it's not finished, split impulse method will be added for position correction
minz
python wrapping: add shape object, move get_point_list to body object
minz
fix some bugs. delete obsolete code in pgShapeObject.c
minz
fixed some bugs.
minz
resovle some bugs.
minz
add split impulse so that collsion is more stable.
minz
minz
minz
a python memory bug has been fixed, test1.py can run now
minz
minz
minz
test1.py is added, it's under test yet
minz
minz
add position correction
minz
solve "GetPointList" python function bug
minz
minz
extract glTestSuite
minz
collision is nearly right(needing position correction)
minz
correct some bugs
minz
update collision algorithms(better than before)
minz
solve ambiguity on collision test.
minz
minz
better collision reaction(support rotation ,however very stable yet)
minz
better collsion test
minz
workable but not perfect collision reactions.
marcus
Make cross compiling happy for subclassed joints.
minz
minz
minz
Change python wrap name
minz
new functions are banned because of unkown bugs.
minz
minz
The type error is fixed. joint subclass wrapping is added
minz
add collision reaction code(not be tested yet)
minz
wrap joint base,continue wrapping distance joint
minz
minz
minz
minz
Add makefile and setup.py, now users can use following command to build python module: "sudo ./setup.py install"
minz
minz
minz
Correct a fault of initModule,use Marcus's method add a separated initModule Source file
minz
Correct a fault of initModule,use Marcus's method
minz
wrap world and body into python
minz
Removed file/folder
minz
Removed file/folder
minz
minz
minz
Removed file/folder
minz
wrap world.gravity with getseter method
minz
last summit code:add some codes related to collision detection(including liang clipping, aabb clipping test, point-in-rectshape detecting...)
minz
minz
minz
添加了碰撞检测相关的代码 删除了bug多多的碰撞检测函数 新版本的碰撞响应算法已设计完毕,编码测试中
minz
Now,add VS project options, compile codes into physics.pyd, which can be used in python(windows platform, Linux platform will be added after wrap phase)
minz
begin coding physics python wrapper and test world object(passed) Python test code is "import physics;world = physics.world();"
minz
Add joint body position correction algorithm, make simulation more stable
minz
Solve a bug of distance joint
minz
Add basic type memory management
minz
minz
Add a test case of multiple joint solver
minz
Distance Joint algorithm for Both Dynamic Bodys (Test case is added: TestBasic3Init)
minz
minz
minz
code frame is mainly completed. distant-joint has been done and tested. a part work of collision test has been done. add /Document, including the main simulation step, TODO list and API list.
minz
minz
minz
minz
minz
minz
marcus
Added physics branch for the GSoC 2008