can anyone shed more light on what these Position and Rotation Errors mean?
According to the unity manual , Position Error and Scale Error are "percentages". The property type is a float.
Does this mean it expects a value of 0-100 or a value of 0.0-1.0 ? The screenshot shows 0.5 implying that is 0.0-1.0 but it does not seem to be the case.
Is "50%" specified as 0.5 or 50.0?
What does a say a 50% Position Error mean in an optimized animation curve?
The only amount that seems to have any impact on character animations in editor is Rotation Error, which is degrees. I see no difference between 0, 0.99 and 99 in position or scale errors, at least in playback....
I'd like to bump this. So, we now know percents are [0, 100], but Mambo4's original questions are still unanswered. Rotational error being measured in degrees, sure.... but positional errors should measured in a unit of distance like meters or cm. What does 'percent' mean in this context?
@tangential Simplified, key frame reduction isolates 3 keys, removes the middle one, and compares the two curves. Somehow they Math up the difference as a percentage, and compare that to the percentage we entered. So it's not a percentage of scale or position units, its a percentage of 'allowable curve difference.'
IC. I sort of figured it would generate new keyframes whenever the error grew greater than the thresholds, but I guess it simply removes them if the error is low enough. Thx for the info.
I edited my answer below to include the full info - if you could upvote it that would be appreciated (I can't upvote my own post)
Answer by Mambo4
Feb 12, 2016 at 01:42 PM
Answered via unity support desk: Positon and Scale error values are expected to be 0-100, not 0.0-1.0
The percentage is not any kind of world scale or distance units, but the allowed difference between the source animation curve and its reduced version.
My experiments show that you can go far beyond 100% and get results (not good ones!) I went as high as 1,000,000 on position error and saw my character rig jump a foot above the ground level.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
4 People are following this question.
Can I make animations snap to a frame?
Multiple Animated Objects Causing Lag!
How to select an animation clip by index number?
Unable to reduce keyframes / compress animations
What are the differences between animation compression types?