Thanks for the reply. I don't have any other scripts running on scene except those in Avatar- demo. I tested taking off instructions.js which has only widget in the scene, but same thing still occurs. I also tried those debug prints and they printed fine when i had less than 99 entities but not when I added one entity more. Only thing that happens when I right click with mouse is that cursor disappears and doesn't move until I release it again.
I also tried changing inputmappers context priorities in simpleavatar.js, but they didn't seem to affect anything. I put my test scene to pastebin: http://pastebin.com/ynAeP2g2 (avatar.txml from Avatar-demo with dummy entities) Maybe someone can test if it works on them. I have used avatarapplication.js, simpleavatar.js and exampleavataraddon.js from Avatar-demoscene. - Teemu On 21 syys, 22:31, Jonne Nauha <jo...@adminotech.com> wrote: > We have working scenes that have way more than 100 entities. The only reason > why mouse would not work in that higher priority input context is handling > the mouse events before they get to your av app. Do you have any scripts in > the scene that might do this? Also put prints console.LogInfo("whee"); in > the simpleavatar.js where the mouse stuff is done and see if they even get > there. > > Also if you right click on top of a scene widget i think the mouse wont be > handled in the av scripts. Do you have some full screen or otherwise big ui > elements in the ui scene? > > Best regards, > Jonne Nauha > Adminotech developer > > On Wed, Sep 21, 2011 at 2:57 PM, Teemu Siltanen > <teemu.silta...@gmail.com>wrote: > > > > > > > > > Hi, > > > I noticed in my scene, which has over 100 entities in a txml (mostly > > meshes), that I can't use mouse to rotate my Avatar (I'm using the > > avatar script from the example). To find out where the problem might > > be, I added to avatardemo's avatar.txml multiple dummy entities with > > only a name on them and found out that the mouse works fine when txml- > > file has less than 99 entities on it. If it has 99 entities, mouse > > won't work. Avatar moves/rotates fine with keyboard though. Any ideas > > how to fix this problem? > > > (In my original scene this also prevents some actions I have in > > QWidgets using right click -actions from mouse. Those and avatar > > worked fine in Tundra 1.0.8 but have these problems in 2.0.) > > > - Teemu > > > -- > >http://groups.google.com/group/realxtend > >http://www.realxtend.org -- http://groups.google.com/group/realxtend http://www.realxtend.org