Is there any constaint which will act like SocketBallConstraint, but also will allow to move object closer/further?

Hello. I’m trying to learn a bit Roblox constraints. And, while making some stuff with physics-based character, I run into a problem - I need BallSocketConstraint which will allow object go inside it a bit, and not only on sphere’s part, like this:


BallSocketConstraint will allow this green sphere move on the curve blue edge, but I want also move it on this purple area:

Is it possible without hard-scripting (or with it?)

1 Like

An invisible RopeConstraint is what you’re looking for (in combination with some others).

People often forget that a RopeConstraint is really a fancy way of saying “maximum distance constraint”.

2 Likes