GetMatrixTransformBetweenNodes() needs parent transform nodes of your nodes, so you need to use source.GetParentTransformNode() and target.GetParentTransformNode(). See details in this related post: Transformation graph for quick calculation of concatenated transforms
lassoan
(Andras Lasso)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Transformation graph for quick calculation of concatenated transforms | 12 | 1878 | September 11, 2018 | |
| SetMatrixTransformToParent consume much time | 10 | 348 | September 6, 2021 | |
| Transform does not match VTM matrix array | 2 | 316 | July 4, 2020 | |
| Apply Transformation to a model | 3 | 2348 | January 10, 2019 | |
| Transformation Between Two Tools | 7 | 754 | August 14, 2023 |