Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

using springJoint/ConfigurableJoint as supporting spring

Discussion in 'Physics' started by NDSno1, Aug 10, 2018.

  1. NDSno1


    Dec 20, 2014
    Hi all,
    I'm trying to use springJoint and configurableJoint as a supporting spring holding a mass/rigidbody on top of another mass/rigidbody. Both rigidbodies can move and rotate freely. Think of it like a scissor lift. However, I can't seem to be able to configure the spring to be the support. Unity's (or PhysX rather) spring seems to behave like a rope, anchoring a rigidbody to another fixed rigidbody, not supporting.
    What I'm doing is put the SpringJoint component in the lower rigidbody, and set anchor point and anchor rigidbody to the upper rigidbody. But when in play mode, the upper rigidbody would just drop down on top of the lower rigidbody like there is no spring force at all, not matter how strong the spring force is (which was 50000 for a 300kg rigidbody mass)
    Is there any solution to my problem here? Or do I have to implement my own spring solution?
    Thank you.