I use all transforms in blender,so child meshes location all be set to 0,
how can i obtain the coordinate of the child mesh relateive to the root node (inspector shows 0).
or, get the coordinate of the child mesh relateive to world
in a scene, i want to set particleSystem.emitter base on child mesh position,
The right answer is (0,0,0) indeed, as the local position of the “light-008” mesh is (0,0,0) and the position of its parent (__root__) is also (0,0,0).
This is the expected behavior, if you apply a transform, then the original origin position of the mesh will be lost.
You can put an empty node at the position where you want the particle to be emitted to mark it.
Or just don’t apply the transform in blender.