Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. We're looking for your feedback on the platforms you use and how you use them. Let us know!
    Dismiss Notice
  4. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  6. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  7. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  8. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

using springJoint/ConfigurableJoint as supporting spring

Discussion in 'Physics' started by NDSno1, Aug 10, 2018 at 3:45 AM.

  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.