diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2018-07-07 23:21:20 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2018-07-19 17:58:27 +0300 |
commit | 0bf8096501a8e7883f4061ba3e425966ba7517cd (patch) | |
tree | 0535d2a4df15dc45c02b114bdd34f615f3a0d61a /source/blender/blenloader | |
parent | 51f14cfa43e5fe4bdea6fbd5c668a44919657f99 (diff) |
Resolve the opposite vector ambiguity in Damped Track constraint.
Damped Track by specification attempts to arrive at the desired
direction via the shortest rotation. However with opposite vectors
there are infinitely many valid 180 degree rotations. Currently
it gives up and does nothing.
I think that it would be more reasonable to resolve the ambiguity
arbitrarily, so that Damped Track won't have a weird dead zone.
To make it more predictable I use a local axis.
In addition, the singularity area vicinity has some floating
point precision problems that result in significant jitter.
This applies workarounds for two causes of instability.
Differential Revision: https://developer.blender.org/D3530
Diffstat (limited to 'source/blender/blenloader')
0 files changed, 0 insertions, 0 deletions