Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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
0
Question by AdamBL · Feb 16, 2017 at 05:03 PM · rotationphysicsrigidbodydrag

How do drag and angular drag interact?

I'm simulating a truck with a trailer, and I'm working on making sure the trailer rotates in a realistic way. What I'm wondering is how both drag and angular drag will act on the trailer as it fishtails behind the truck. I would think that angular drag is what would slow down the fishtailing, as I'm trying to reduce the trailer's rotation. At the same time, I could also see how regular drag would reduce the fishtailing movement as well.

What I want is for the trailer's rotation to trail behind the truck's when it starts turning, then overshoot it as the truck straightens out, then slowly return to being directly behind the truck as the truck drives straight. After doing a little testing, I've found that regular drag simulates that the best, though I'm not really sure why. If I just use angular drag, the trailer will rotate to be at a 90 degree angle with the truck and then stick there, while using both angular and regular, or even just regular, makes it do the fishtailing behavior I'm looking for.

Any ideas why?

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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by AdamBL · Feb 16, 2017 at 10:22 PM

So I've done a little testing, and it seems like angular drag is actually the bigger factor here. I did 3 trials where I accelerated for 3 seconds, turned for 3 seconds, then saw how long it took for the trailer to return to the "default" state (as well as how many fishtail swings it took):

Drag = .5, Angular Drag = .5 : 26.7 seconds, 5 fishtail swings

Drag = 1, Angular Drag = 0 : 39.3 seconds, 8 fishtail swings

Drag = .25, Angular Drag = .75 : 20.2 seconds, 3 fishtail swings

In general, lower drag gave a bigger initial fishtail, though that might've been because the truck was going faster due to the decreased drag.

Comment
Add comment · 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
0

Answer by Judgeking · Mar 08 at 01:32 PM

For future ref:

The linear drag applies to positional movement and is set up separately from the angular drag that affects rotational movement. A higher value of drag will cause an object's rotation to come to rest more quickly following a collision or force.

Comment
Add comment · 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

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

116 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image 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

drag object including free rotation 0 Answers

Weird translation after instantiating on transform.rotation 2 Answers

How not to make a RigidBody not go into ground when tilted foward? 1 Answer

How to make an object(cylinder) always at the center of an object(Terrain)? 0 Answers

how to shot a soccer ball in curve path according to the swipe type 2 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