Julien Ryard (ENSAM)
unread,Nov 13, 2012, 8:27:28 AM11/13/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dtenti...@googlegroups.com
Hello.
I have a little problem with my entities declared with LayerAttachPoint component.
Sometimes I have two entities :
E1 with a layer fixed to default root node.
a PAT component
and a layerAttachPoint component
and E2 with a layer, fixed to E1 layerAttachPoint component
A PAT component
and a staticMesh.
Sometimes whe I save my scene, E1 is saved first, but sometimes it is in second.
But when E1 is loaded after E2, E2 couldn't be added to my scene, cause the node define by E1 layerAttachPoint isn't created yet.
Maybe could we add a priority for saving entity with layerAttachPoint component first.
Maybe it's in loading, when an entity link to a layeAttachPoint not yet created, we could push it on a stack of entity to load later.
Maybe we could done two pass to load entities, one from first to last, and the other from last to first, avoiding entities already loaded.
I solved the problem by my side, by editing my map files, but it is very simple scene, I think it should be better if it was automatic.
Julien.