Box2D Forums

It is currently Tue May 21, 2013 2:51 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Aug 13, 2012 2:59 am 
Offline

Joined: Sun Oct 23, 2011 4:02 am
Posts: 69
Hi,

I done the basket for basket ball game. And it is somewhat similar like this.
http://www.flonga.com/play/top-basketball.htm

In that you can see the basket is stiff while hitting it. I want to do similar one. In my game, the basket rope is swinging always and if i put the ball in basket the ropes are getting collapse. I created basket using the revolute joint. I want to do changes in fixtures or something else in joints??.

Help me out to do.


Top
 Profile  
 
PostPosted: Mon Aug 13, 2012 5:41 am 
Offline

Joined: Tue Jun 24, 2008 8:25 pm
Posts: 1515
Location: Tokyo
Are you using any distance joints? You can set the frequencyHz and damping for distance joints to make them soft, kinda stretchy. Check out the 'web' example in the testbed.


Top
 Profile  
 
PostPosted: Tue Aug 14, 2012 2:59 am 
Offline

Joined: Sun Oct 23, 2011 4:02 am
Posts: 69
I did not use the distance joint. Used revolute joint alone. Somehow i done it but it is not perfect. And it consuming the time to do the basket for setting the anchors. I think some simple way will be there to do.

Thanks for ur help. I done it because of you. :)


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

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot], jean.leduc 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