katzenjoghurt
15-10-2007 19:07:41
... is there any way to do so?
There is a NxOgre::Body->setName() method but it only affects the actor, yet not the entity (which seems to be rather impossible anyway to rename it after creation).
So setName() results in a crash with the second instance ... at least for me.
So is there a method to define the object's name strings in advance or am I bound to it's filename?
Didn't find anything in ActorParams or the corresponding param String though.
(Purpose: I'd like to add a prefix to the names allowing me to differentiate between "manipulateable" and "non-manipulatable" objects when clicking on them ...)
There is a NxOgre::Body->setName() method but it only affects the actor, yet not the entity (which seems to be rather impossible anyway to rename it after creation).
So setName() results in a crash with the second instance ... at least for me.
So is there a method to define the object's name strings in advance or am I bound to it's filename?
Didn't find anything in ActorParams or the corresponding param String though.
(Purpose: I'd like to add a prefix to the names allowing me to differentiate between "manipulateable" and "non-manipulatable" objects when clicking on them ...)