Hi I’m trying to select an object with the mouse that I exported as an AS3 class from Prefab2. It’s a soldier that I’m trying to select:
_soldier = new Soldier();
_soldier.scale(.10);
_soldier.x = 0;
_soldier.y = 25;
_soldier.z = -100;
_soldier.mouseEnabled = true;
_soldier.addEventListener(MouseEvent3D.MOUSE_DOWN, _soldierOnMouseDown);
scene.addChild(_soldier);
but it doesn’t work. Any idea how I could select it with the mouse so I can move it around.