SoundSystem: listener entity ID

1 view
Skip to first unread message

Luca Vezzadini

unread,
Jul 22, 2013, 12:24:48 PM7/22/13
to dtEntity developers

Hi there,

I am looking at the SoundSystem and there is a property to link the global listener to another entity in the scene. Unfortunately, this property is a UInt one and it refers to the entity ID as assigned internally by the EntityManager. As this is not visible in any way to the user, it cannot be set directly; in other words it is quite useless to have this property as it is now.

 

I propose to change to be a string one and to make it use the Map.UniqueID property of any other entity; this way, even in the editor we can easily decide what entity to link the listener to, and this can be safely written to file also.

 

If nobody complains about this, I will try to code the change and submit it as soon as possible.

 

Thanks.

 

    Luca

 

_____________________________________________________

Luca Vezzadini

VR Lab

Kairos3D Srl

www.kairos3d.it

 

 

Reply all
Reply to author
Forward
0 new messages