3 registered members (Ayumi, Akow, AndrewAMD),
1,505
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
3Dgs Box2D wrapper
#361142
03/01/11 06:20
03/01/11 06:20
|
Joined: Feb 2010
Posts: 320 TANA/Madagascar
3dgs_snake
OP
Senior Member
|
OP
Senior Member
Joined: Feb 2010
Posts: 320
TANA/Madagascar
|
Hi to All, I have created a 3dgs Box2D(Box2D 2.1.2) physics plugin (Working with all A7/A8 editions). Actually it has all the Box2D functions, but I plan to integrate other additional functionalities, like buoyancy, gravity and others. All functions are quite the same as the C++ version except member properties are accessed through getters an setters, so Box2D knowledge can be used with Lite-C. I also plan to create some demos that use more advanced Box2D features. To use it with 3DGS, Box2D performs the simulation, the simulation results are then used to animate (move and rotate) 2D Objects accordingly(ex PANELS). Below are some testbed screens : Ragdoll (From http://box2dflash.sourceforge.net/ ) Bridge (From Box2D TestBed) Theo Jansen Walker (From box2D Testbed) Best regards.
Last edited by 3dgs_snake; 10/10/12 09:04. Reason: Added google drive link
|
|
|
Re: 3Dgs Box2D wrapper
[Re: 3dgs_snake]
#361147
03/01/11 07:26
03/01/11 07:26
|
Joined: Apr 2005
Posts: 4,506 Germany
fogman
Expert
|
Expert
Joined: Apr 2005
Posts: 4,506
Germany
|
How cool is that, please? Great work!
no science involved
|
|
|
Re: 3Dgs Box2D wrapper
[Re: fogman]
#361149
03/01/11 08:00
03/01/11 08:00
|
Joined: Feb 2010
Posts: 320 TANA/Madagascar
3dgs_snake
OP
Senior Member
|
OP
Senior Member
Joined: Feb 2010
Posts: 320
TANA/Madagascar
|
Hi Mr fogman, This is the thing I told you . Unfortunately, I wasn't able to use the code you gave me, but I'm still finding a way to draw (and fill) primitives, so your code will be usefull. Best regards.
|
|
|
Re: 3Dgs Box2D wrapper
[Re: 3dgs_snake]
#361153
03/01/11 08:46
03/01/11 08:46
|
Joined: Jul 2007
Posts: 959 nl
flits
User
|
User
Joined: Jul 2007
Posts: 959
nl
|
wow this is some good stuff
"empty"
|
|
|
Re: 3Dgs Box2D wrapper
[Re: flits]
#361156
03/01/11 09:03
03/01/11 09:03
|
Joined: Feb 2010
Posts: 320 TANA/Madagascar
3dgs_snake
OP
Senior Member
|
OP
Senior Member
Joined: Feb 2010
Posts: 320
TANA/Madagascar
|
Thanks,
Actually, it is my contest entry. You will be able to get it in the free resources very soon I think.
Have a nice day.
Last edited by 3dgs_snake; 03/01/11 09:04.
|
|
|
Re: 3Dgs Box2D wrapper
[Re: 3dgs_snake]
#361160
03/01/11 11:02
03/01/11 11:02
|
Joined: May 2002
Posts: 7,441
ventilator
Senior Expert
|
Senior Expert
Joined: May 2002
Posts: 7,441
|
awesome! i have some ideas for 2d physics games so this will be helpful. if only i had more time... a while ago i tried to use chipmunk which is written in c. i thought maybe no wrapper would be needed but lite-c was too incompatible.
|
|
|
Re: 3Dgs Box2D wrapper
[Re: ventilator]
#361163
03/01/11 11:23
03/01/11 11:23
|
Joined: Feb 2010
Posts: 320 TANA/Madagascar
3dgs_snake
OP
Senior Member
|
OP
Senior Member
Joined: Feb 2010
Posts: 320
TANA/Madagascar
|
Hi ventilator, In the first time, I also thought about using chipmunk, and like you said, there were incompatibilities (I wanted to rewrite it but I failed), And after some tests I finally wrapped Box2D. I am really waiting for the awesome things that others will create with it .
|
|
|
Re: 3Dgs Box2D wrapper
[Re: Helghast]
#361170
03/01/11 13:53
03/01/11 13:53
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
YAY! we can make Angry Birds now Na, that was already possible: Nice contribution!
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
|