Box2D Forums

It is currently Fri May 24, 2013 1:50 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Feb 26, 2012 12:11 pm 
Offline

Joined: Sun Feb 26, 2012 1:35 am
Posts: 2
Good day, I have a circular body which rolls in a certain direction. Some platforms in my game are built perpendicular to each other forming a 90 degrees corner like _| (without the gap :))
My problem is that the circular body gets stuck between the two platforms if it collides with the corner. Only by implying an impulse the body is released but gravity does not seem to affect it anymore.

I have seen posts with solutions but they were all referring to square character bodies.

Has anyone here have a suggestion about this issue ?

Thanks


Top
 Profile  
 
PostPosted: Mon Feb 27, 2012 12:48 am 
Offline

Joined: Sun Feb 26, 2012 1:35 am
Posts: 2
Nice to answer my own posts but if anyone's interested I found the solution by simply setting the body definition's 'allow sleep' flag to false.


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: No registered users 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