Game Development Community

Box2D on iPhone

by Geoff Rowland · in iTorque 2D · 02/11/2009 (7:50 am) · 1 replies

I saw over on the TGB forums that someone has integrated the Box2D physics engine into TGB:

http://www.garagegames.com/community/forums/viewthread/83463

Pretty cool. A few weeks ago I managed to get Box2D working on the iPhone (not using Torque, just by itself). Has anyone tried integrating it into iTGB?

#1
03/19/2009 (8:30 am)
I've read some of his thesis, and apparently, to integrate Box2D physics into TGB, you would have to lose some functionality from both Box2D and TGB's physics handler in order to coax them into tolerating each other in the same environment. It's a messy, hack-ey process. Changes would have to be made to TGB's memory handler, etc. etc., but since iTGB is based on TGB, it's probably doable (although I do have some concerns regarding performance.)