HingeJoint coming back to start point

Hi,

I’m looking at all the variables for hinge joint but can’t figure out how to make the object come back to its starting point. Right now when something hits it, it would sometimes drift upwards. I currently have limits on it to only rotate around the x and have a max of 10 degrees. Can anyone point to where I should be looking at?

I just started looking at hinges myself so this may be wrong. I would guess the spring would do that.

I’ve done some playing around. Setting use spring and the target poistion should do what you need to set limits for “have a max of 10 degrees”.