A Unity physics experiment focused on making Spider-Man-style traversal feel fast, fluid, and responsive.
Spider-Man Swinging Simulator is a Unity-based traversal project built around the physics of web swinging and superhero movement.
Rather than relying entirely on scripted movement, the project uses Unity's physics system to create responsive traversal using rigid bodies, spring joints, raycasts, 3D vectors, forces, and momentum.
The project was developed with a particular focus on making movement feel fluid and satisfying while combining several traversal mechanics into one movement system.
The game was published on Game Jolt and has received 1,000+ downloads.
The main goal of this project was to explore how physics-based movement can be used to create fluid character traversal.
| Input | Action |
|---|---|
W A S D |
Move |
Mouse |
Look around |
Left Shift |
Sprint / wall-run upward |
Left Ctrl |
Wall-run downward |
Space |
Jump / wall jump |
Left Mouse Button |
Shoot web / begin swinging |
Release Left Mouse Button |
Release web |
Esc |
Pause |
The primary gameplay scripts are located in:
Assets/
└── Scripts/
├── WebShooters.cs
├── PlayerMovement.cs
├── WallRunning.cs
├── WallClimbing.cs
├── FirstPerson.cs
├── PauseMenu.cs
└── ...
| Script | Responsibility |
|---|---|
WebShooters.cs |
Web targeting, swinging, spring-joint physics, web rendering |
PlayerMovement.cs |
Ground movement, sprinting, jumping, air control |
WallRunning.cs |
Wall detection, wall running, wall sticking, wall jumping |
WallClimbing.cs |
Wall detection and vertical climbing |
FirstPerson.cs |
First-person camera and camera effects |
PauseMenu.cs |
Pause and resume functionality |
Engine
- Unity
Programming
- C#
- Unity Physics
- Rigidbody dynamics
- Spring joints
- Raycasting
- Sphere casting
- 3D vector mathematics
Unity Systems
- Line Renderer
- TextMesh Pro
- Physics system
- Materials and shaders
- Audio system
- Unity UI
- Unity
- Visual Studio or another C# IDE
Clone the repository:
git clone https://github.com/allxn753/Spider-Man-Swinging-Simulator.gitOpen the project using Unity Hub and load the main scene under:
Assets/Scenes/
The gameplay systems can be found under:
Assets/Scripts/
The playable build is available on Game Jolt:
This is an independent fan-made project created for educational and experimental purposes.
Spider-Man and associated characters, names, imagery, and intellectual property belong to their respective rights holders. This project is not affiliated with, endorsed by, or sponsored by Marvel, Sony, or Insomniac Games.
Some visual and audio assets used in the project were not created by the developer.
Allen Mathew
Physics & Computing @ University of Waterloo
Built with C# + Unity
Physics • Movement • Simulation • Game Development