Box2D Forums

It is currently Mon May 20, 2013 5:55 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Sep 20, 2007 11:14 pm 
Offline
Site Admin

Joined: Thu Sep 06, 2007 12:34 am
Posts: 2931
Change List:
- Descriptions are now Definitions (Def for short).
- Shape definitions are no longer fat. They use inheritance for boxes, polygons, and circles.
- Vectors and matrices can now have constructors. This makes it easier to write test programs.
- Began filling out the API.
- Added a HelloWorld project and test program.
- Added accessors and utility functions.
- Added fast collision filtering: groups and categories.
- API improvements.
- Added a flag to joint definitions to control collision of connected bodies.
- Fixed doSleep.
- Added user data void pointers to b2Shape, b2Body, and b2Joint.
- Added a callback for implicitly destroyed joints.
- Fixed crash pressing 'r' in the test bed while using the mouse joint.

Please see TODO.txt for future plans.

Please see Readme.txt for instructions.

http://sourceforge.net/projects/box2d


Top
 Profile  
 
PostPosted: Thu Sep 20, 2007 11:50 pm 
Offline

Joined: Tue Sep 18, 2007 6:17 am
Posts: 155
Location: Western Cape, South Africa
Well played, sah!

Methinks the programmer doest progress too much ;)

Erin Catto wrote:
- Added a callback for implicitly destroyed joints.


Does this mean that joints can be destroyed under force?
Or can that be easily added?


Top
 Profile  
 
PostPosted: Fri Sep 21, 2007 12:04 am 
Offline
Site Admin

Joined: Thu Sep 06, 2007 12:34 am
Posts: 2931
Say you destroy a body connected to a joint. Box2D will automatically destroy that joint. Before the joint is destroyed, you can get a call back from Box2D with the joint pointer so you can remove any reference you have to that joint. This prevents you from accidently trying to destroy that joint later.

See the Web demo where you can destroy bodies and see the joint pointers get nullified in the callback.


Top
 Profile  
 
PostPosted: Fri Sep 21, 2007 12:39 am 
Offline

Joined: Tue Sep 18, 2007 6:17 am
Posts: 155
Location: Western Cape, South Africa
Ahhh, I see.
That's cool too :)

Any plans for force/torque destroyable joints? :D


Top
 Profile  
 
PostPosted: Fri Sep 21, 2007 9:42 am 
Offline
Site Admin

Joined: Thu Sep 06, 2007 12:34 am
Posts: 2931
What I'll do is provide initially is provide the reaction force/torque for all joints. This is more generally useful. Then later I'll add some strength parameter for automatic breakage.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group