Entity to multiple nodes
-
mageonline
- Gnoblar
- Posts: 10
- Joined: Tue Aug 11, 2015 7:22 am
- Location: Finland
Entity to multiple nodes
Is it possible to attach the same entity to multiple scene nodes?
-
dark_sylinc
- OGRE Team Member

- Posts: 5537
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1395
Re: Entity to multiple nodes
No. It's not possible. Multiple entities to the same node, but not viceversa.
-
xrgo
- OGRE Expert User

- Posts: 1148
- Joined: Sat Jul 06, 2013 10:59 pm
- Location: Chile
- x 169
Re: Entity to multiple nodes
But you can clone it
-
mageonline
- Gnoblar
- Posts: 10
- Joined: Tue Aug 11, 2015 7:22 am
- Location: Finland
Re: Entity to multiple nodes
Thanks. Does cloning produce a random name to the entity?
I have had issues destroying entities when the player changes zone. Sometimes they do not get destroyed, probably due to some reference i forgot to clear and the name collision results in exception.
Is it safe to change mesh and texture on an entity? In that case i could just reuse them without deleting.
I have had issues destroying entities when the player changes zone. Sometimes they do not get destroyed, probably due to some reference i forgot to clear and the name collision results in exception.
Is it safe to change mesh and texture on an entity? In that case i could just reuse them without deleting.