Box2DFlash 2.1a RELEASE!

Discuss issues specific to the Flash/AS3 port of Box2D
BorisTheBrave
Posts: 1911
Joined: Mon Jan 07, 2008 10:51 am
Contact:

Re: Box2DFlash 2.1a RELEASE!

Postby BorisTheBrave » Sun Mar 28, 2010 3:28 am

Though I intend to eventually switch for 2.1's release, 2.1a is using 2.0s CCD. The two systems are quite different, but I think it is not possible for dynamics to penetrate statics in either. The differences are more subtle, like how bullet-bullet works, or interaction with joints. Erin has stated that there is some problem with bullet-static in 2.0, but I didn't get what it was.

If you can generate a testbed reproducing the problem, I'll look into it.

adq
Posts: 34
Joined: Sat Mar 27, 2010 1:47 pm

Re: Box2DFlash 2.1a RELEASE!

Postby adq » Sun Mar 28, 2010 3:44 am

Ok, how to make this testbed?
Can it be simply working example of this bug?

Do you know when 2.1 will be out ??

Thanks.

BorisTheBrave
Posts: 1911
Joined: Mon Jan 07, 2008 10:51 am
Contact:

Re: Box2DFlash 2.1a RELEASE!

Postby BorisTheBrave » Sun Mar 28, 2010 4:19 am

Yes, any simple example. It is easiest to adapt the example program that comes with box2d.

No date is available for when 2.1 is released. That depends on Erin releasing the C++.

adq
Posts: 34
Joined: Sat Mar 27, 2010 1:47 pm

Re: Box2DFlash 2.1a RELEASE!

Postby adq » Sun Mar 28, 2010 5:30 am

Here you have testbed with code: Grab it!
Ball is launching automatically for every 1 second.

When I was reproducing this bug I discovered that it applies to rotated objects.

For example if I do box with 10x70 dimensions, the ball collides and wall reacts as it should react.
But when I do box with 70x10 dimensions and rotate it by -90 deegres, the ball goes through it and wall seems untouched.

This situation in my project is very annoying.

Is there any way to fix this?

BorisTheBrave
Posts: 1911
Joined: Mon Jan 07, 2008 10:51 am
Contact:

Re: Box2DFlash 2.1a RELEASE!

Postby BorisTheBrave » Sun Mar 28, 2010 8:18 am

Now you mention it, a couple of bugs have been fixed since the 2.1a release, including one pertaining to CCD. I have put a new version of 2.1a up with the most major fixes backported, please redownload and try again. (the readme gives a date of release, it should say 28 March now). I'll wait for a reply.

Assuming it still doesn't work, you will need to work around it until a fix is available. I'm usually pretty prompt with fixes, so it's probably easiest to take no action.

adq
Posts: 34
Joined: Sat Mar 27, 2010 1:47 pm

Re: Box2DFlash 2.1a RELEASE!

Postby adq » Sun Mar 28, 2010 8:33 am

Yup, it fixes this issue!
Thank you very much !!! :) ;)

sketchbookgames
Posts: 564
Joined: Tue Feb 24, 2009 4:10 pm
Location: Michigan
Contact:

Re: Box2DFlash 2.1a RELEASE!

Postby sketchbookgames » Sun Mar 28, 2010 6:34 pm

sorry for mis-leading. i didn't know Box2DFlash 2.1a was still using 2.0s CCD.

BorisTheBrave
Posts: 1911
Joined: Mon Jan 07, 2008 10:51 am
Contact:

Re: Box2DFlash 2.1a RELEASE!

Postby BorisTheBrave » Mon Mar 29, 2010 11:12 am

It's ok, I lose track of what features are present too.

adq
Posts: 34
Joined: Sat Mar 27, 2010 1:47 pm

Re: Box2DFlash 2.1a RELEASE!

Postby adq » Fri Apr 02, 2010 4:03 am

I think there is a bug with b2DistanceJoint.

I described it here.

adq
Posts: 34
Joined: Sat Mar 27, 2010 1:47 pm

Re: Box2DFlash 2.1a RELEASE!

Postby adq » Fri Apr 02, 2010 7:17 am

Problem solved. This is not box2d code.


Return to “Flash”



Who is online

Users browsing this forum: Google [Bot] and 4 guests