Box2D Forums

It is currently Sun May 19, 2013 5:16 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Jul 24, 2012 7:34 am 
Offline

Joined: Tue Jul 24, 2012 7:24 am
Posts: 1
Hi,all.

I'm new to BOX2D.


Just as the title described,I want to find a way to detect whether a container is filled.

For example,there is a big cup on the table,and I will put something (such as small balls with different sizes) into it.How to know the cup is filled?

Forgive my poor description.
Thank you. :)


Top
 Profile  
 
PostPosted: Fri Aug 03, 2012 6:20 am 
Offline

Joined: Tue Jul 31, 2012 7:46 am
Posts: 11
You could try adding a sensor on the top of the cup, which will tell you if it any balls have collided or gone past it.
I am not that good at Box2D yet, so there could be other ways but this is the one that immediately cam to my mind.


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

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 4 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