# tank815119/redem architecture

> Architecture diagram of the GitHub repository tank815119/redem, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tank815119/redem
- Repository: https://github.com/tank815119/redem

## Overview

Redem is presented as a physics-based VR interaction engine. The documented user-facing workflow is VR play with physics-driven movement and object interaction, alongside environmental and multiplayer capabilities. The README names these systems but no implementation excerpts are available, so the graph shows documented capabilities and marks inferred runtime relationships as unverified. Paths point to the available enclosing asset directory, not verified implementation files.

Main entry points: [`Redem/Assets`](https://github.com/tank815119/redem/tree/main/Redem/Assets) (Environmental response)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_player["VR Player"]
  node_rig["Physics rig"]
  node_body["Body simulation"]
  node_movement["Physics movement"]
  node_grabbing["Object grabbing"]
  node_manipulation["Object manipulation"]
  node_twohand["Two-handed use"]
  node_forces["Applied forces"]
end

subgraph group_environment["World Interaction"]
  node_objects["Physics objects"]
  node_environmental["Environmental response"]
  node_water["Water physics"]
  node_adhesion["Object adhesion"]
end

subgraph group_network["Multiplayer"]
  node_multiplayer["Networked play"]
  node_ngo["Unity Netcode"]
  node_sync["Physics synchronization"]
  node_modes["Play modes"]
end

node_player(("VR player"))

node_player -.->|"uses"| node_rig
node_rig -.->|"simulates"| node_body
node_rig -.->|"supports"| node_movement
node_player -.->|"interacts"| node_grabbing
node_grabbing -.->|"enables"| node_manipulation
node_manipulation -.->|"supports"| node_twohand
node_manipulation -.->|"applies"| node_forces
node_forces -.->|"affects"| node_objects
node_player -.->|"acts on"| node_environmental
node_environmental -.->|"includes"| node_water
node_environmental -.->|"includes"| node_adhesion
node_environmental -.->|"responds to"| node_objects
node_multiplayer -.->|"uses"| node_ngo
node_multiplayer -.->|"supports"| node_sync
node_multiplayer -.->|"supports"| node_modes
node_player -.->|"plays through"| node_multiplayer

click node_rig "https://github.com/tank815119/redem/tree/main/Redem/Assets"
click node_body "https://github.com/tank815119/redem/tree/main/Redem/Assets"
click node_movement "https://github.com/tank815119/redem/tree/main/Redem/Assets"
click node_grabbing "https://github.com/tank815119/redem/tree/main/Redem/Assets"
click node_manipulation "https://github.com/tank815119/redem/tree/main/Redem/Assets"
click node_twohand "https://github.com/tank815119/redem/tree/main/Redem/Assets"
click node_forces "https://github.com/tank815119/redem/tree/main/Redem/Assets"
click node_objects "https://github.com/tank815119/redem/tree/main/Redem/Assets"
click node_environmental "https://github.com/tank815119/redem/tree/main/Redem/Assets"
click node_water "https://github.com/tank815119/redem/tree/main/Redem/Assets"
click node_adhesion "https://github.com/tank815119/redem/tree/main/Redem/Assets"
click node_multiplayer "https://github.com/tank815119/redem/tree/main/Redem/Assets"
click node_sync "https://github.com/tank815119/redem/tree/main/Redem/Assets"
click node_modes "https://github.com/tank815119/redem/tree/main/Redem/Assets"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_rig,node_body,node_movement,node_grabbing,node_manipulation,node_twohand,node_forces toneBlue
class node_objects,node_environmental,node_water,node_adhesion toneAmber
class node_multiplayer,node_ngo,node_sync,node_modes toneMint
class node_player toneIndigo
```

## Components

### VR Player

- [Physics rig](https://github.com/tank815119/redem/tree/main/Redem/Assets): `Redem/Assets`
- [Body simulation](https://github.com/tank815119/redem/tree/main/Redem/Assets): `Redem/Assets`
- [Physics movement](https://github.com/tank815119/redem/tree/main/Redem/Assets): `Redem/Assets`
- [Object grabbing](https://github.com/tank815119/redem/tree/main/Redem/Assets): `Redem/Assets`
- [Object manipulation](https://github.com/tank815119/redem/tree/main/Redem/Assets): `Redem/Assets`
- [Two-handed use](https://github.com/tank815119/redem/tree/main/Redem/Assets): `Redem/Assets`
- [Applied forces](https://github.com/tank815119/redem/tree/main/Redem/Assets): `Redem/Assets`

### World Interaction

- [Physics objects](https://github.com/tank815119/redem/tree/main/Redem/Assets): `Redem/Assets`
- [Environmental response](https://github.com/tank815119/redem/tree/main/Redem/Assets): `Redem/Assets`
- [Water physics](https://github.com/tank815119/redem/tree/main/Redem/Assets): `Redem/Assets`
- [Object adhesion](https://github.com/tank815119/redem/tree/main/Redem/Assets): `Redem/Assets`

### Multiplayer

- [Networked play](https://github.com/tank815119/redem/tree/main/Redem/Assets): `Redem/Assets`
- **Unity Netcode**
- [Physics synchronization](https://github.com/tank815119/redem/tree/main/Redem/Assets): `Redem/Assets`
- [Play modes](https://github.com/tank815119/redem/tree/main/Redem/Assets): `Redem/Assets`

### Other components

- **VR player**

## Connections

- VR player → Physics rig: uses
- Physics rig → Body simulation: simulates
- Physics rig → Physics movement: supports
- VR player → Object grabbing: interacts
- Object grabbing → Object manipulation: enables
- Object manipulation → Two-handed use: supports
- Object manipulation → Applied forces: applies
- Applied forces → Physics objects: affects
- VR player → Environmental response: acts on
- Environmental response → Water physics: includes
- Environmental response → Object adhesion: includes
- Environmental response → Physics objects: responds to
- Networked play → Unity Netcode: uses
- Networked play → Physics synchronization: supports
- Networked play → Play modes: supports
- VR player → Networked play: plays through
