Searched refs:spaceCraft (Results 1 – 1 of 1) sorted by relevance
75 private Spatial spaceCraft; field in TestHoveringTank142 spaceCraft = assetManager.loadModel("Models/HoverTank/Tank2.mesh.xml"); in buildPlayer()143 CollisionShape colShape = CollisionShapeFactory.createDynamicMeshShape(spaceCraft); in buildPlayer()144 spaceCraft.setShadowMode(ShadowMode.CastAndReceive); in buildPlayer()145 spaceCraft.setLocalTranslation(new Vector3f(-140, 14, -23)); in buildPlayer()146 spaceCraft.setLocalRotation(new Quaternion(new float[]{0, 0.01f, 0})); in buildPlayer()151 spaceCraft.addControl(hoverControl); in buildPlayer()154 rootNode.attachChild(spaceCraft); in buildPlayer()158 spaceCraft.addControl(chaseCam); in buildPlayer()164 Vector3f pos = spaceCraft.getWorldTranslation().clone(); in makeMissile()[all …]