But when I do so, the position in “flangePos” is not correct.
By further investigating this, I realized that the method “getSimWorldToRootNode()” always gives me the same position even when I move the component’s origin.
So my question is what exactly does “RootNode” refer to in this method?
This is the description of getSimWorldToRootNode() on the help document: Returns the offset from 3D world origin to root node. Tested and it seems to do the work. See image below.