2.0 Progress Update

Yeah, good idea. 🙂

If you need some more public data, make a request in the feature request forum.
The sweep start time (t0) is definitely useful when separating simulation time from rendering time (as seen in Fix Your Timestep!) , and is one of the few sweep values not exposed via an accessor function. I use it to pre-initialize a fractional step offset value in the Renderable component, so effects (like explosions) appear when they look like they should.

While the GetSweepRadius() accessor function is marked as internal, I figured it was harmless to use as a quick approximation for the shape's size. The corresponding UpdateSweepRadius() is clearly off-limits. 🙂
hi
I'm new here and I'm going to start using box2d for real as soon as stable v.2.0 will be released.

...but:
When I was checking the manual at SVN I discovered that date of it's update is strange: the year is still 2007...
...why ?

sorry for my eng.
That's called a typo 😛
What about JBox2D? Will there be a 2.0 version? Also have you considered a sub-forum for JBox2D?

Thanks for your time!
Jeff
Just updated my code from 1.4.3 to SVN r112. Everything seems to work well 🙂
Hopefully some of the new features will let me remove some of my old hacks.

One thing I've noted in b2Shape->TestPoint (TestSegment has the same error) is that the b2XForm parameter is referred to as "transform" in the docs, but is "xf" in the actual definition. (b2Shape line 130, 132 and 135, 143)

It is probably worth adding a note that you will usually call the body of the shape to get its b2XForm for use when calling this function.
I was creating a new blank b2XForm which would work sometimes but usually fail.
Hola Erin
Could you add to Box2D/Source/Common/b2Math.h in the function
inline bool b2IsValid(float x) to WIN32, the macro _WIN32_WCE (for wince smart devices)

Code: Select all

inline bool b2IsValid(float x)
{
#if defined( WIN32 ) || defined (_WIN32_WCE)
   return _finite(x) != 0;
#else
   return finite(x) != 0;
#endif
}


That would be nice !

Thx, nimodo
Re: JBox2d, yes, I will be porting 2.0 to Java as soon as possible, though I can't guarantee an exact date - some updates go smoothly, and others have bugs that can be extremely difficult to track down. I definitely won't be starting until at least next week, as I don't even have a computer with me with a Java SDK (I'm at the GDC right now).

Currently there aren't nearly enough users to justify a separate forum section for JBox2d, so if you have specific questions your best bet is either to post to the Java thread in the Ports and Spinoffs section or e-mail me (my username here @ gmail).
That sounds great! Thanks for replying!
Jeff
nimodo wrote:Could you add to Box2D/Source/Common/b2Math.h ...


Got it.

Original thread: https://box2d.org/forum/viewtopic.php?t=246