More physics to ropes? Stretch-ability, bounciness

As a Roblox developer, it is currently too hard to use the rope constraints for anything other than swinging mechanics. I am currently trying to put together a skeleton of a game that requires a wrestling ring. With that in mind, I tried out the rope mechanics to see if my character would go into the rope and for the rope to stretch to a certain extent, then push back on my character with the same applied force. Sadly, I realized I needed to anchor one block and keep another one un-anchored in order for the rope constraint to work properly. I’m not much of a programmer by any means and am not one to entirely mess with physics on the engine; but I started to think, well what if I wanted to anchor both sides and see if the middle part of the rope constraint would then become stretchable given both ends are anchored. My result was having a walk-through mesh. I probably sound like a moron and this feature is probably easy to implement if I garnered enough knowledge of the physics and lua. Sorry if I end up wasting your time reading this.

If Roblox is able to address this issue, it would improve my development experience because I could now use a stretchable and “bouncy” rope to add more elements into future games, rather than a rope constraint that only allows a swing movement.

12 Likes

Couldn’t you combine a SpringConstraint and a RopeConstraint for this?
Objects can have multiple constraints acting upon them, so you can usually mix and match in order to find the physics behavior you want.

Edit: Upon re-reading I realize you also want the visual rope to have physical presence, but that’s not what Constraints are for. They define the movement between two objects, and the rope you see is just a visualization of that. Your character cannot touch or bounce off the visual rope.

7 Likes

Ah makes sense. Do you think that may be a possibility in the future though? The visual side of things, otherwise I feel I’m stuck trying to animate rope bouncing physics.

That would be soft body deformable physics. It’s something that Roblox has expressed interest in, but many years in the future.

2 Likes

Thank you for the explanation and information! I appreciate it! :slight_smile:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.