Interaction enabled on the world

Aug 17, 2011 at 5:12 PM


I am trying to create a google map like feature using balder. I have the rotating sphere in place using the .ase file from the hello world sample. I wanted to display pins, so added sub materials to the mesh as the parent material is the cloudless image but could not do it. So i used the flat:sprite and added some pins to the sphere. I got the mesh vertex co-ordinates from the .ase file to locate the pins on the sphere.

The pain area is that i could not rotate the sphere with the mouse even if the Interaction enabled property of the world is set to true. I want to see all the pins set on all parts of the sphere.. in other words i want to view all pins set on all parts of the world by rotating the sphere with mouse.

Thank you!


Aug 19, 2011 at 3:12 PM

What you could do is disable interaction - which is basically only for single objects as it is implemented now, and instead use a Container around all your objects and use either the MouseEvents directly or the manipulation events to modify the World matrix for the container.