Mouse UV position Away 4.1

Software: Away3D 4.x

John Brookes, Moderator
Posted: 19 November 2012 01:46 PM   Total Posts: 732

Just so nobody else has the fun Ive just had :/

Previously was using

var clickMesh:Mesh = new Mesh(new SphereGeometry(earthRadius200100), new ColorMaterial(0x00.01));
clickMesh.mouseEnabled true;
clickMesh.pickingCollider PickingColliderType.PB_BEST_HIT;
clickMesh.addEventListener(MouseEvent3D.DOUBLE_CLICKtweenToMap_doubleClickHandler); 

Now also need

clickMesh.shaderPickingDetails = true
clickMesh.geometry.convertToSeparateBuffers();


To the Devs

dev branch Intermediate_MouseInteraction

head model is missing
geometry.convertToSeparateBuffers();

without it you cant draw on the head model.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X