node->getBound().center() * osg::computeLocalToWorld(node->getParentalNodePaths()[0])
osg::Vec3f vec3f1 = hNode2->getBound().center(); osg::NodePathList nodePAthList1 = hNode2->getParentalNodePaths(0);
不知为啥,
hNode2->getParentalNodePaths(0);一直报错
Program: ...laManageProjectTeslaManagex64DebugTeslaManage20191001.exe
File: minkernelcrtsucrtsrcappcrtheapdebug_heap.cpp
Line: 980
Expression: __acrt_first_block == header
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.