Box2D Forums

It is currently Thu May 23, 2013 10:34 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Mon Apr 16, 2012 10:45 pm 
Offline

Joined: Sun Apr 15, 2012 8:39 pm
Posts: 9
This is my code .Can anyone help me?


Attachments:
File comment: source code
ElasticRope.h [7.11 KiB]
Downloaded 181 times
Top
 Profile  
 
PostPosted: Tue Apr 17, 2012 2:56 am 
Offline

Joined: Tue Jun 24, 2008 8:25 pm
Posts: 1517
Location: Tokyo
Help you what? Be more specific.


Top
 Profile  
 
PostPosted: Tue Apr 17, 2012 10:56 am 
Offline

Joined: Fri Feb 10, 2012 4:08 am
Posts: 11
Well the topic does say "How to make an elastic rope just like cut the rope game" ...


Top
 Profile  
 
PostPosted: Wed Apr 18, 2012 8:16 pm 
Offline

Joined: Sun Apr 15, 2012 8:39 pm
Posts: 9
irresistible force wrote:
Help you what? Be more specific.


When I pull the rope is long, each rigid body will shake, not in a straight line. Can anyone provide advice, preferably attached some code, Thank you very much.
following is elastic rope of cut the rope game:


Attachments:
images.jpg
images.jpg [ 6.55 KiB | Viewed 2912 times ]
Top
 Profile  
 
PostPosted: Thu Apr 19, 2012 12:05 am 
Offline

Joined: Sun Oct 25, 2009 3:28 am
Posts: 242
You should try adding a distance joint at the ends of the rope so it won't do that shaking segments thing when stretched.


Top
 Profile  
 
PostPosted: Thu Apr 19, 2012 1:43 am 
Offline

Joined: Sun Apr 15, 2012 8:39 pm
Posts: 9
jayther wrote:
You should try adding a distance joint at the ends of the rope so it won't do that shaking segments thing when stretched.


Good idea, I will try ,thank you very much


Top
 Profile  
 
PostPosted: Thu Apr 19, 2012 9:15 am 
Offline

Joined: Sun Apr 15, 2012 8:39 pm
Posts: 9
I successfully make an elastic rope with b2DistanceJoint. Reference to the example of box2D the web. Thank you to those friends who give me advice.


Attachments:
iOS 模拟器屏幕快照“Apr 20, 2012 12.15.12 AM”.png
iOS 模拟器屏幕快照“Apr 20, 2012 12.15.12 AM”.png [ 10.9 KiB | Viewed 2898 times ]
Top
 Profile  
 
PostPosted: Wed May 30, 2012 4:37 pm 
Offline

Joined: Tue Dec 06, 2011 11:00 pm
Posts: 2
speedboy wrote:
I successfully make an elastic rope with b2DistanceJoint. Reference to the example of box2D the web. Thank you to those friends who give me advice.


Can you give me link to "example of box2D the web" you mentioned above?


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

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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