Box2D Forums

It is currently Tue May 21, 2013 1:42 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Jan 30, 2008 6:38 am 
Offline

Joined: Tue Jan 15, 2008 10:34 am
Posts: 28
I have an object that when it collide create a joint between itself and the other object. To set the anchorpoints I use the localpoints from the contact, localpoint1 for body1 etc. This works fine with circles but when it collides with boxes it seems as if the anchorpoints get switched.

If I use localpoint2 for body1 however, boxes work fine but circles get the problem instead.

Here's a picture that might help:
Image
Blue is the joint and red symbolizes the anchorpoints. The bottom example is how it should be in all cases..

This is in 2.0.0 by the way.


Top
 Profile  
 
PostPosted: Wed Jan 30, 2008 9:44 pm 
Offline
Site Admin

Joined: Thu Sep 06, 2007 12:34 am
Posts: 2931
Hmm, I wonder if this might help you:

http://box2d.org/forum/viewtopic.php?f=3&t=351


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], Google [Bot] and 3 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