Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
4
Question by ichini · Oct 17, 2012 at 08:39 PM · physicsspring joint

Spring Joint: Object doesn't stop moving

Very easy to reproduce problem (Unity 3.5.6f4):

  • create a Cube at (0,0,0)

  • add a SpringJoint

  • press Play

  • drag or reposition the Cube in space (and let go)

expected behaviour:

the Cube is pulled back to (0,0,0) and eventually comes to a full stop

actual behaviour:

the Cube is pulled back towards (0,0,0), but instead of stopping at the origin it swings into a perpetual, short distance orbit around it - it doesn't get any closer or slow down, but keeps cycling - a true perpetual mobile.

Oddly, the second behaviour doesn't occur every time, but ~ 3/5th of the times, the other tries actually stopping the object at (0,0,0). I've tried setting the anchor to (0,0,0), as well as an exhaustive combination of SpringJoint and PhysicsManager settings with no luck.

I am looking for any reliable way to return and stop the object at its world space origin - via SpringJoint or ConfigurableJoint settings, PhysicsManager tuning, or any possible scripted approaches.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
5

Answer by superseva · Oct 16, 2015 at 10:24 AM

Try to increase linear drag and angular drag to the rigidbody component of a cube . you can play with values to simulate the spring strength.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image theyeetboi · Mar 04, 2020 at 11:37 PM 0
Share

thank you!

avatar image maxpleaner · Jan 19, 2021 at 10:01 AM 0
Share

Thanks so much I've been stuck on this all day

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

12 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to configure a rope like joint 0 Answers

spring joint minimum distance 1 Answer

Rope Physics using Spring Joints 3 Answers

2D 360 degress platformer example needed 0 Answers

How to get spring to settle? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges