Box2D Forums

It is currently Wed May 22, 2013 3:19 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: object collision related
PostPosted: Mon Jul 30, 2012 12:00 am 
Offline

Joined: Wed Jul 25, 2012 2:36 am
Posts: 12
Hi,

Let i have two objects. Is it possible an object can collide to the other object at one side not on the other side.

Say, we have an Object 1 and Object 2,

Object 2 have sides A, B, C, D.

Now let Object 1 move towards object 2 (having side A), then it should collide.
and, Object 1 move towards object 2 (having side B), then it should not collide.

Please give suggestions.


Top
 Profile  
 
PostPosted: Mon Jul 30, 2012 1:30 am 
Offline

Joined: Wed Jul 25, 2012 2:36 am
Posts: 12
Do u want any more info?


Top
 Profile  
 
PostPosted: Mon Jul 30, 2012 11:01 pm 
Offline

Joined: Wed Jul 25, 2012 2:36 am
Posts: 12
is there any doubt.


Top
 Profile  
 
PostPosted: Mon Jul 30, 2012 11:14 pm 
Offline

Joined: Tue Jun 24, 2008 8:25 pm
Posts: 1517
Location: Tokyo
?
I have answered you in the other thread you cross-posted here, and also for this same question on Stack Overflow. Take a good look at the 'One-Sided Platform' example in the testbed.


Top
 Profile  
 
PostPosted: Tue Jul 31, 2012 12:18 am 
Offline

Joined: Wed Jul 25, 2012 2:36 am
Posts: 12
I have got the answer. I am very thankful to you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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