Box2D Forums

It is currently Thu May 23, 2013 4:30 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon Feb 02, 2009 12:43 pm 
Offline

Joined: Mon Feb 02, 2009 12:36 pm
Posts: 1
Very new to this but I believe this may be the answer:

Making sure you're using the .mm extension for your implementation code, I simply added this to my header file:

#ifdef __cplusplus
#import "Box2D/Include/Box2D.h"
#endif

I was the able to compile successfully using the latest code from SVN (though of course it probably works with the latest official release - I haven't checked) and make references to classes such as b2World and b2Body directly from my Objective-C interface section.

Hope that helps.


Top
 Profile  
 
PostPosted: Wed Nov 10, 2010 3:59 am 
Offline

Joined: Wed Nov 10, 2010 3:55 am
Posts: 4
worldAABB.lowerBound.Set(-100.0f, -100.0f);
worldAABB.upperBound.Set(100.0f, 100.0f);

please tell the meaning of these coordiantes
what is significance of these coordinates.


Top
 Profile  
 
PostPosted: Wed Dec 29, 2010 5:03 pm 
Offline

Joined: Mon Jul 27, 2009 6:46 am
Posts: 230
In the old Box2D, the world has a set size. That size is just a box whose lower bound is -100,-100 and whose upper bound is 100,100. Any bodies outside that size will stop moving and be sent to the listener.

-P


Top
 Profile  
 
PostPosted: Fri Feb 25, 2011 1:45 pm 
Offline

Joined: Wed Nov 10, 2010 3:55 am
Posts: 4
Thanks
:)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group