Hash to identify MovableObject
- st4lk3r87
- Greenskin
- Posts: 101
- Joined: Fri Feb 23, 2007 12:59 am
- Location: Reggio Calabria ( Italy )
- Contact:
Hash to identify MovableObject
There are a lot of system that utilize Hash of a string instead of the String directly. Could be this a good suggestion ?
- haffax
- OGRE Retired Moderator

- Posts: 4823
- Joined: Fri Jun 18, 2004 1:40 pm
- Location: Berlin, Germany
- x 8
- Contact:
Re: Hash to identify MovableObject
What exactly do you need?
If it is about SceneManager needing a name for movables, this is no longer the case in Ogre 1.7. (Well internally it still has one, but the need for it will be resolved in one of the next versions (hopefully next
)) For everything in your client app, there is always the pointer to a MovableObject which is itself usable as a hash or can be more efficiently be fed to a hash algorithm, if the raw pointer doesn't suffice.
More context please!
If it is about SceneManager needing a name for movables, this is no longer the case in Ogre 1.7. (Well internally it still has one, but the need for it will be resolved in one of the next versions (hopefully next
More context please!
- st4lk3r87
- Greenskin
- Posts: 101
- Joined: Fri Feb 23, 2007 12:59 am
- Location: Reggio Calabria ( Italy )
- Contact:
Re: Hash to identify MovableObject
I resolved my problem by use SetUserAny and GetUserAny method 

I didn't know of this changeIf it is about SceneManager needing a name for movables, this is no longer the case in Ogre 1.7.