I’m trying to parent one node to another, both with physics bodies. However, the child does not follow the motion of the parent.
I’ve seen somewhere else on the forum that removing some code from CCDirector.cpp will fix the problem, but I can’t find it! I can find CCDirector.h, but not the cpp file. Does anyone know how I can find it, or if there is another way to fix the parenting problem?
I’m using Cocos studio with framework 3.6.