ue5 小知识点 actor和actor之间的嵌套

actor 包含两种component

一种是scene component 这种是带transform的 是能在场景中渲染的,同时很重要的是 能嵌套的

第二种是普通的actor component 这种不带transform 在actor中是平级的

 actor和actor的嵌套

UE里是通过Child:AttachToActor或Child:AttachToComponent来创建父子连接的

内部还是 scene component的嵌套

所以actor之间没有直接的addactor等操作 而是变相的通过scene component的层级结构来确定actor之间的层级结构。

猜你喜欢

转载自blog.csdn.net/opk8848/article/details/126544261