Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 silverbackAlex · May 31, 2018 at 10:46 PM · animationconstraints

Parent and rotation constraints are influenced by sources whose weights are set to zero

When I create a parent or rotation constraint with multiple sources, and animate the weight of those sources; the constrained object's rotation continues to be influenced by sources whose weight is set to zero.

This happens only when multiple sources are active. For instance, if the weights of Source2 and Source3 are set to 1, and the weight of Source1 is set to zero; rotating Source1 will influence the object anyway.

By contrast, if Source2 and Source3 are set to 1, and Source4 is set to zero, rotating Source4 does not appear to influence the constrained object; so this bug appears to have something to do with the order in which the sources are applied.

To illustrate this another way:

Case 1:

Source1: weight = 0
Source2: weight = 1
Source3: weight = 1
Source4: weight = 0

Source1 affects the object's rotation, regardless of its weight.
Source4 does not affect the object, as normal.

Case 2:

Source1: weight = 0
Source2: weight = 1
Source3: weight = 0
Source4: weight = 0

Only Source2 affects the object, as normal.

I have been very impressed by both these new constraints and their cooperation with Maya and timeline; but this makes interpolating between three or more sources impossible without compromising animation quality, drastically reducing their usefulness.

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
0

Answer by silverbackAlex · Jun 05, 2018 at 09:15 PM

I ended up working around this by setting the entire list of constraint sources in code, rather than trying to animate the weights themselves.

My solution involved storing all of my sources in a list, interpolating their weights how I wanted them, and some logic that created a smaller list containing only those sources whose weights are above zero. Then I applied those sources to the constraint.

This is probably not as performant as setting weights, but it effectively prunes all of the unused sources and resolves the issue. For my purposes, performance is something of a moot point because otherwise - to call a spade a spade - this bug means that Unity's new constraints really support only two sources.

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 bogdancoder · Jun 20, 2018 at 03:52 PM

Hi,

Thank you for reporting this issue.

I have been able to reproduce the problem. I will provide a fix as soon as possible.

Thanks!

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 Arnklit · Dec 06, 2019 at 11:39 AM 0
Share

I'm still seeing this issue in 2019.2.15f1. Any update on a fix?

EDIT: Never $$anonymous$$d, seems to be another issue. It's wrong even with a single source. Appears to be an issue with the 2D animation package. EDIT 2: Turns our if you are using the 2D I$$anonymous$$ package you should use your I$$anonymous$$ Handle as your source rather than the bones it's driving.

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

225 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 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

How to move hips in Unity Animation Rigging IK 0 Answers

Is it posible to adjust an animated bones POSITION at runtime. Not the rotation. 1 Answer

Animation Rigging: Constraining handheld objects 0 Answers

How to force the editor to evaluate constraints? 0 Answers

blender to unity animations 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