Fix issue reported in #32174: IK solver stretch was less stable after a code refactor
commit, epsilon was supposed to be 0.01 instead of 0.001.
This commit is contained in:
parent
fd3068281c
commit
68efcca5ea
2
intern/iksolver/extern/IK_solver.h
vendored
2
intern/iksolver/extern/IK_solver.h
vendored
@ -163,7 +163,7 @@ float IK_SolverGetPoleAngle(IK_Solver *solver);
|
||||
|
||||
int IK_Solve(IK_Solver *solver, float tolerance, int max_iterations);
|
||||
|
||||
#define IK_STRETCH_STIFF_EPS 0.001f
|
||||
#define IK_STRETCH_STIFF_EPS 0.01f
|
||||
#define IK_STRETCH_STIFF_MIN 0.001f
|
||||
#define IK_STRETCH_STIFF_MAX 1e10
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user