please i need help
Rope (implemented like Bridge) quirks.
FlashI've used the strong rope technique from this thread to make this game:
http://www.hivehub.co.uk/#/grapple-training
So thanks to all for the tips!
http://www.hivehub.co.uk/#/grapple-training
So thanks to all for the tips!
What i try to achieve is to build a "rope" and some kind of sign that is attached to this rope. So far, the "bridge" example in the Testbed provided a excellent starting-point, but now i'm encountering problems
Erin/makc/micapolos thanks SO much for this, I've created a successful rope and am making a game with a character hanging from it. The tips on mass ratios have really helped making this stable.
It all works well, until I try to attach the final link to the character body at an offset other than the centre position from body.GetPosition(). When I add an offset - even a tiny amount like 0.001 to only x - the bottom link becomes much more 'stretchy' than the others and the character slides to the floor, with the rest of the links still attached to the ceiling all close together.
Is there a reason why you have to attach the distance joint to the body's centre?
cheers.
It all works well, until I try to attach the final link to the character body at an offset other than the centre position from body.GetPosition(). When I add an offset - even a tiny amount like 0.001 to only x - the bottom link becomes much more 'stretchy' than the others and the character slides to the floor, with the rest of the links still attached to the ceiling all close together.
Is there a reason why you have to attach the distance joint to the body's centre?
cheers.
I'm kinda a beginner and I'm using the box2d WCK (it's awesome)
I'm trying to make a rope connector or an elastic cord between two objects (joints).
I'm trying to make it as class that i could just pass two objects.
can some one please help me?
thanks
I'm trying to make a rope connector or an elastic cord between two objects (joints).
I'm trying to make it as class that i could just pass two objects.
can some one please help me?
thanks
This thread is becoming a bit old (1 year already !) but the given tip is still the best solution I found to get a not-too-bouncy rope. Thanks a lot guys !
cheers
cheers
Since this thread got randomly bumped it may be worth mentioning that there is now a "rope" joint in Box2D now.
Hi Everyone!
I just started using Box2D and it's pretty impressive. However I have few problems with proper ropes.
mayobutter, what do you mean by rope joint? I downloaded Box2D (cpp) few days ago and there is no such thing as rope joint in my release. Where should I look for it? I would prefer out of the box solution over hacks like mixed joints and such 🙂
Edit: Ok, found it, it's called lineJoint. Doesn't work to well though, line is stretchy.
I just started using Box2D and it's pretty impressive. However I have few problems with proper ropes.
mayobutter, what do you mean by rope joint? I downloaded Box2D (cpp) few days ago and there is no such thing as rope joint in my release. Where should I look for it? I would prefer out of the box solution over hacks like mixed joints and such 🙂
Edit: Ok, found it, it's called lineJoint. Doesn't work to well though, line is stretchy.
Uriel wrote:
Hi Everyone!
I just started using Box2D and it's pretty impressive. However I have few problems with proper ropes.
mayobutter, what do you mean by rope joint? I downloaded Box2D (cpp) few days ago and there is no such thing as rope joint in my release. Where should I look for it? I would prefer out of the box solution over hacks like mixed joints and such 🙂
Edit: Ok, found it, it's called lineJoint. Doesn't work to well though, line is stretchy.
I just started using Box2D and it's pretty impressive. However I have few problems with proper ropes.
mayobutter, what do you mean by rope joint? I downloaded Box2D (cpp) few days ago and there is no such thing as rope joint in my release. Where should I look for it? I would prefer out of the box solution over hacks like mixed joints and such 🙂
Edit: Ok, found it, it's called lineJoint. Doesn't work to well though, line is stretchy.
No, not the line joint. Rope joint in the Alchemy Port:
https://github.com/jesses/wck/blob/mast ... peJoint.as
Rope joint in C++ core:
http://code.google.com/p/box2d/source/b ... eJoint.cpp
Original thread: https://box2d.org/forum/viewtopic.php?t=1527