Codesnippets > Inline / 3rd party

Box2d - 2D physics

(1/39) > >>

Kitty Hello:
OK, here's Schranz0r's port of Box2D. I extended it a bit so you can debug the shapes, too.

Also, at the very bottom of the file, there's an example ("b_WakeUp") that should get you started how to extend the wrapper. You might need the get/set acceleration and velocity functions as well as the add impact functions. A "is point in shape" function would be handy for picking, too.
It's all there, just wrap it. Ask here if you need help.

You propably need the header pack (which I should update, btw.)
@Schranz0r - where is the header pack?!

Bugfix: b_DestroyBody didn't set pointer to NULL.

[edit]
Updated version 13 oct 2011
Re-Uploaded zip on 2020-06-19

Schranz0r:
xD


This one?

http://www.glbasic.com/files/headers.rar

codegit:
This is soooooooooo cooooooooool ....thanks guys.  :good: :good: :good:

Schranz0r:
No Problem  :good:

bigsofty:
well done guys!  :good:

P.S. Will this work on the iPhone?

Navigation

[0] Message Index

[#] Next page

Go to full version