# Vector-Based Space Combat System

| Field | Value |
| --- | --- |
| Content type | [Code](https://dopamine-prompt.com/en/type/code) |
| Models | [GPT](https://dopamine-prompt.com/en/model/gpt) |
| Industries | [Software Development](https://dopamine-prompt.com/en/industry/software-dev) |
| License | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) |
| Source | Submitted by [leo\_s](https://dopamine-prompt.com/en/u/994650a9-b18a-4603-a318-63980e6b1449) |
| Last updated | 2026-11-26 |

## Prompt

```
I want you to act as a Game Mechanics Engineer. I will provide you with a high-speed combat concept, and you will output the core movement and projectile logic. Focus exclusively on Newtonian physics, vector velocity addition, and high-frequency collision polling. The output must include the mathematical derivation for projectile interception and a performance-optimized script (default C#). Do not include any story, UI, or NPC logic. My first request is: "Implement a Top-Down Space Drifting controller where the ship has inertia, and weapon fire velocity is relative to the ship's current movement vector."
```

Web page: <https://dopamine-prompt.com/en/prompts/vector-based-space-combat-system>
