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
0
Question by Le-Capitaine · Apr 26, 2014 at 09:50 PM · rigidbodyjointskinematic

Can a jointed, non-kinematic rigidbody snap straight to a kinematic rigidbody's position?

For context: I've got a bike and a rider with matching animations. The handlebars are driven by the animations; they're childed to a bone and have a kinematic rigidbody. This is so that the fork, which has a non-kinematic rigidbody, can be attached to the handlebars via sliding joint, so as to obtain a sliding suspension; in turn, the wheel, also with a non-kinematic rigidbody, is attached to the fork via hinge joint, so that it rolls along the ground. All of that functions and no parenting is going on.

My problem is that despite explicitly locking any movement but Z-axis sliding, the fork, and with it the wheel, inexplicably trail way too far behind the handlebars. Switching the sliding joint for a fixed one nets me the same problem; this makes me think it's an intended behaviour, but it's the one glaring thing that completely kills what I'm trying to pull off. Is something out there for this? All I know is that you can't have a non-kinematic rigidbody as a child of another rigidbody and my bike has already got a non-kinematic one; the fork and wheel are separate from the bike.

Comment
Add comment · Show 2
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 meat5000 ♦ · Apr 26, 2014 at 11:19 PM 0
Share

Is it handled in FixedUpdate, and how is the motion driven?

avatar image Le-Capitaine · Apr 27, 2014 at 05:59 AM 0
Share

No scripting at all is involved (though I did try setting the fork's interpolation to "Extrapolate," to no avail). Still, the bike is driven in FixedUpdate. The animation is controlled via blend tree.

e: Putting the bike's behaviour in Update didn't change anything.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Owen-Reynolds · Apr 27, 2014 at 03:17 AM

Well, there's no point having a regular no-joint rigidbody as a child of anything, since both the parent and rigidbody will move the object. It's not a rule, and won't cause a crash -- it just usually gives terrible results.

But, [tested, lots] having rigidbody children with joints connected to their parents works pretty well.

In theory, a handlebar with a joint to a front column should be non-childed. As the column moves, the joint does all the work of dragging the handlebars along. In practice, I think big movements confuse joints. Having the handlebars be a child and connected by a joint seems to have the parenting do the big motions, then the joint does the bobbing and bending.

Comment
Add comment · Show 1 · 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 Le-Capitaine · Apr 27, 2014 at 06:13 AM 0
Share

Just gave a try at childing the column -- still no dice, sadly.

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

22 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

Related Questions

How do I move stacked cubes in a dynamic way? 0 Answers

Joint (with is kinematic) work like a child, 100% fixed, without little bounces? 0 Answers

network of rigidbodies cannot have more than one kinematic body and work well? 0 Answers

Kinematic how to know rigidbody velocity vector? 1 Answer

Using Configurable Joints to Mimic Animated Bones - rotation issue 1 Answer


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