Hi, I have a simple shooter game in the works. There is a gun site that follows the mouse and a plane to shoot.
Plane code for addToScene that works great
var sw=wade.getScreenWidth();
var sh=wade.getScreenHeight();
this.setPosition(-sw/2+150, 0);
this.moveTo(sw/2, 50, 100);Gun scope code on click
 
var shots = this.getOverlappingObjects();
for (var i=0; i<shots.length; i++)
    {
        if (shots[i].isEnemy)
            {
                wade.removeSceneObject(shots[i]);
                break;
            }
    }
setTimeout(function() {
            wade.addSceneObject(shots[i]);
               }, 1000);What works: The plane flies across the screen, the gun scope moves with cursor, on click the plane is removed, the plane is added back to the screen a second later..... but doesn't move.. the moveTo doesn't work when added back to the screen
 
            
            
