y: Float): Node { val base = Node() val modelNode = Node() modelNode.setParent(base) modelNode.localPosition = Vector3(x, y, 0f) MaterialFactory.makeOpaqueWithColor(this, Color(android.graphics.Color.RED)) .thenAccept { material -> val sphere = ShapeFactory.makeSphere(0.1f, Vector3(0.0f, 0.15f, 0.0f), material) modelNode.renderable = sphere } return base }