My codes:
Object3D mDog = xxxxxx; //Loader init
Object3D obj = Object3D.createDummyObj();
obj.addChild(mDog);
obj.addChild(otherObjs);
obj.rotateY(1);
if(mDog.getRotationMatrix().isIdentity()){
log.d("xx", "true");
};
if(mDog.getTranslationMatrix().isIdentity()){
log.d("xx", "true2");
};
The result is "true"、"true2".
I want to reset "mDog" to its original position after "obj.rotateY(1)", and the code "mDog.clearRotation()" is useless. Doesn't the rotation of the parent-Object3D affect the RotationMatrix of children-Object3D?