Skip to content

Beese-Churger/HACX-Projectile-Sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HACX-Projectile-Sim

A Project for HacX! Hack for Public Safety by the 9V Battery Lickers

Problem statement

SC2: Physics-based simulation of projectiles

Overview:

From time to time, SPF encounters cases involving the illegal use of prohibited and/or controlled items such as air guns or catapults/slingshots. This typically involves the user shooting projectiles (plastic beads, glass marbles or metal ball bearings) at people, animals, or objects, often in the act of mischief.

Problem:

There are instances where the path of the projectile needs to be determined to locate the position of shooter. Unlike bullets, the trajectory path of plastic/glass/metal projectiles does not travel in a straight line over relatively short distances. The trajectory also changes when the projectile deflects or ricochets off surfaces.

Aim:

Explore potential methods of accurately estimating the path of a projectile launched from a slingshot/air gun by way of modelling and simulation, even as it transverses through, or ricochets off, various materials (e.g. through glass windows, ricochets off car door etc.), and correlate the findings to locate the shooter.

Link to website: https://hacx.sg/challenge/

Source Files download instructions

Download the source files and open them using Unity 2021.3.17f1. Any other version may cause errors in the code. You can download that specific version of unity through the Unity Download Archive

Important Links

Name Link
Product Specification Document https://docs.google.com/document/d/1GP4JbiivC8ZwdoyXQaq4u85IqZsOsKUDS-eN1lzoESc
Pitch Deck https://docs.google.com/presentation/d/149ARX-utGCghXqUkWzMltY3sPY9hgFJNCz3hXsU0elc
WebGL Repository https://github.com/onebignick/hacx-projectile-sim-webgl
WebGL Website (Depreciated due to budget constraints) 18.140.238.153:5000
WebGL Website #2 Github Pages

Getting Started

Note: Mac and Linux are one version behind and untested since we developed the application on Windows

Running on web

  1. Click on WebGL Website link under Important Links

Windows

  1. Go to releases and download ProjectileSimulator.zip
  2. Click on Projectile Simulator.exe to run the game
  3. Voila! Enjoy the simulation

Mac

  1. Download the latest version of ProjectileSimulator.zip
  2. Click on Projectile Simulator.exe to run the game
  3. Voila! Enjoy the simulation

Linux

  1. Download the latest version of ProjectileSimulator.zip
  2. Click on Projectile Simulator.exe to run the game
  3. Voila! Enjoy the simulation

Running the Program

  1. Hit start
  2. Select 2 target windows and hit run simulation
  3. Wait for simulation to run and view results!
  4. The most likely culprit position will be highlighted in cyan