use the uv's return and do a simple u * mcwidth, 1-v * mcheight If you have used the lockH and lockW you will have to use these instead of width and height of the mc source.
Fabrice On Mar 15, 2010, at 7:02 PM, matths wrote: > Hello, > > I am a newbie to Away3D, but I have done quite alot with Away3D-lite > so far. But now, it seems, that I hit the frontiers, where I can't > solve problems without asking. > > I am able to detect a MouseEvent3D when the users clicks on my MD2 > model. The event object has different properties, like screenX, > screenY, face, mesh and even uvt coordinates. What I would like to > know, is where on the texture (MovieMaterial) mapped to my modell, the > user had clicked. > > There seems to be an interactive:Boolean property to MovieMaterial in > Away3D, but not in Away3D-Lite. So I would like to have a little bit > more interactivity with the texture by calculating the texture > coordinates out of the properties given by the MouseEvent3D. > > Any suggestions? > > Regards, > matths
