If I have the following structure:
- Top node
- Node A
- Node B (has a NodePath reference to Node A: "../Node A")
- Node C
And then change it to this:
- Top node
- Node A
- Node C
- Node B (NodePath reference to Node A automatically changes to: "../../Node A")
Although the new NodePath
looks correct, it doesn't work at runtime, saying it can't find Node A
. To make it work, I have to manually set the NodePath
again, but in theory there shouldn't be any difference between what I set it to and what it automatically changes to when it's moved.
Am I using NodePaths
incorrectly? Or are they unable to handle this kind of operation?