flame icon indicating copy to clipboard operation
flame copied to clipboard

How to simulate the software effect? Like a rope.

Open iBinbro opened this issue 3 years ago • 4 comments

Problem to solve

flame is a very good game engine, thank you very much for your contributions. Now I have a problem in using it, how to simulate the software effect? Like a rope.

More information

rope

iBinbro avatar Sep 21 '22 03:09 iBinbro

This is already supported by forge2d's rope joint.

ufrshubham avatar Sep 21 '22 04:09 ufrshubham

You could model a rope like that by creating a chain of stick-shaped rigid bodies, each with some small but nonzero mass.

st-pasha avatar Sep 21 '22 04:09 st-pasha

You could model a rope like that by creating a chain of stick-shaped rigid bodies, each with some small but nonzero mass.

Thanks, it's a really good idea so far. But is there a performance issue if my rope is too long? How do I achieve a stretchable rubber band effect?

iBinbro avatar Sep 21 '22 06:09 iBinbro

This is already supported by forge2d's rope joint.

Thanks, I know. But what I'm trying to achieve right now is that rope.

iBinbro avatar Sep 21 '22 06:09 iBinbro