# Space Project: Rumor has it

Oct 23, 2019 · 4 min read

Junwei Li, enemy& player script, thesis; Yankun Yang, enemy& player script, ground, thesis; Xutian Liu, Mapbox, ground, thesis

Description: we try to explore how people deliver information one by one without the internet in the physical urban environment.

Background: The Internet became a very important method of information delivery. By shutting down the internet, some governments try to block information. That actually works, and it happens all the time all around the world. But Manhattan is a super walkable city, so we are thinking, how fast the news can be spread among people just by talking one on one in Manhattan? Does the form of the city influence the velocity of news spread? Based on this question we start the simulation.

Abstract: the logistic of shutting down the internet is to slow down the speed of information spread. Just from the math model, if every delivery takes 1 minute, then it will take less than 21 minutes to let everyone know the news on the Manhattan island. So the physical city form did influence the efficiency of information spread. From just a person’s perspective, who he chooses to talk and what road he will choose will make an impact on the result. So we build a model to simulate how an agent makes choice on who to follow and what road to walk on and how urban factors like square and street would influence how different population(people know the news/ people don’t know the news) would locate and distribute in the city.

Process of exploring: This project will use Unity as the simulation platform. We will also use Mapbox as an urban model generator to create a realistic base model of New York City for our simulation. Through Mapbox we will be able to understand how different city pockets and street networking would participate in simulations.

Simulation Method: Start from a set of preset data agents, random their behavior path, and can have an influence on the physical environment in a particular radius.

One agent can change the character of another agent in this radius. There are two statuses for an agent: healthy, infected. All agents are in random constant movement in city streets, and an infected agent can infect another one within 2 meters of the radius.

Simulation:

https://youtu.be/IZmrE8E_4E8

enemy_move script:

`using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.AI;public class enemy_move : MonoBehaviour{    GameObject player;    NavMeshAgent enemy;    Material m_material;    //private bool colorChangeCollision;    // Start is called before the first frame update    void Start()    {                GetComponent<NavMeshAgent>();        enemy = GetComponent<NavMeshAgent>();        m_material = GetComponent<Renderer>().material;    }    // Update is called once per frame    void Update()    {        player = GameObject.FindGameObjectWithTag("Player");        enemy.destination = player.transform.position;    }}`

player_move script:

`using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.AI;public class player_move : MonoBehaviour{    GameObject player;    NavMeshAgent enemy;    Material m_material;    // Start is called before the first frame update    void Start()    {        m_material = GetComponent<Renderer>().material;    }    // Update is called once per frame    void Update()    {            }    void OnTriggerEnter(Collider other)    {        //colorChangeCollision = true;        if (other.gameObject.CompareTag("enemy"))        {            m_material.color = Color.blue;            other.gameObject.tag = "infected player";            //Destroy(other.gameObject);            //other.gameObject.GetComponent<Renderer>()            //colorChangeCollision = true;        }        if (other.gameObject.CompareTag("infected player"))        {            m_material.color = Color.blue;            gameObject.tag = "infected player";            //Destroy(other.gameObject);            //other.gameObject.GetComponent<Renderer>()            //colorChangeCollision = true;        }    }}`

Process of exploring:

chasing experiment

location-based game exploration

Written by

Written by