- Home /
Hinge Joint with no displacement, strict rotation limits
Hi all,
I need to create a kind of hinge joint that is
using springiness( for rotation),
allows 0 displacement relative to it's anchor
has strict axis rotation limits (the joint's rotation must not exceed these limits at any given time).
I tried hinge joint, but when dragging on of the connected rigidbodies a displacement appears relative to the anchor.
I tried configurable joint, set it up as a hinge joint with springiness,set the projection mode to position and using a projectionDistance of 0.05 the displacement problem disappears, but I can't limit the rotation of the joint for a given angle (ex 45 degrees), when forced to a wall I can make it do a 360 rotation.
How can I make this strange joint? It seems to me that none of the joint available in Unity is capable of this.
Thanks in advance!
Answer by Julien-Lynge · May 23, 2013 at 04:06 PM
You'll want to look at the Configurable Joint. There's a pretty decent tutorial at 3D Buzz, along with tutorials for the other joint types:
http://www.3dbuzz.com/training/view/unity-fundamentals/physics/13-configurable-joint
How we can get this old awesome video? is there any download link?
Your answer
Follow this Question
Related Questions
consecutive angularxdrive.positionspring.equals() not working 0 Answers
Violent shaking when using position drive in Configurable Joints 1 Answer
Configurable Joint AccelerationDrive Flag 0 Answers
Distribute distances between configurable joint links 0 Answers
How can I make a configurable joint behave like a spring joint? 0 Answers