yes if you push back things in a vector the vector contents can move in memory so the pointer to the parent in the ofNode can become invalid, you can use a vector of pointers or make sure that the vector won’t reallocate, by creating all the elements first and then setting the parents afterwards
OK i found the trouble
because i try to affect the position by changing directly the position of the parent.
mow i work setPosition(newPosition); and that works nice.