- Home /
Make a SpringJoint keep a distance
Hello!
I am trying to create a pushable button. I'd like it to extend after being pushed again, like having a string attached to its back (the SpringJoint component). I got the anchors set to the back of the pushable part and the backplate of the button-housing
The problem is that the spring always tries to pull both anchors completely together and I can't figure out how to make it so they'll keep their original distance and only be pushed apart again after being pushed by the user. Kind of like a spring that you can't compress any further when pushed. I tried the component's 'min distance' setting but it does not seem to work how I imagened.
Your answer
Follow this Question
Related Questions
Is there a way to change the distance that mipmaps change at? 0 Answers
Making a button in unity iphone? 3 Answers
Appearing slide info when touch guiTexture Button 0 Answers
Button Texture not showing up in build 0 Answers
How to make a 3D interactive map 0 Answers