[英]Center pivot Instantied GameObject
I have a GameObject and his child.我有一个 GameObject 和他的孩子。 When we view the parent, the pivot is the center between the gameobject and his child.
当我们查看父对象时,pivot 是游戏对象和他的孩子之间的中心。 When I cloned the gameobject, the child was destroyed but the pivot is still in same place and not replaced to the cloned active gameobject.
当我克隆游戏对象时,孩子被破坏了,但 pivot 仍然在同一个地方,并且没有替换为克隆的活动游戏对象。 How can I fix that?
我该如何解决? Thanks
谢谢
Unity generally doesn't do the kind of “pivot child averaging” you're describing here. Unity 通常不会执行您在此处描述的那种“枢轴子平均”。 Is this object imported from a 3D program?
这是从 3D 程序导入的 object 吗? If so, it's much more likely the pivot is just not correct in the model.
如果是这样,pivot 很可能在 model 中不正确。 If it's not a model and just a primitive, post a screenshot!
如果它不是 model 而只是一个原语,请张贴截图!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.