30 lines
1.0 KiB
Markdown
30 lines
1.0 KiB
Markdown
# Basic Drone Demo
|
|
|
|
|
|
## Purpose
|
|
|
|
This demo was built to an idea for a latency effect in a multi-player game. It happened to also demonstrate a few needed parts for the larger video game I want to make. Server based physics. Control of a drone. Switching between characters, control and view independently. Server directed rendering for 3d.
|
|
|
|
## Controls
|
|
|
|
'v' switches between the human and the drone
|
|
|
|
### Human
|
|
|
|
The human is the most simple. WASD for movement, and arrows for looking
|
|
|
|
### Drone
|
|
|
|
Up arrow increases prop speed
|
|
Down arrow reduces prop speed
|
|
Left and Right arrows control yaw, and so do Q and E.
|
|
W pitches forwards and S pitches back
|
|
A rolls left and D rolls right
|
|
F instantly removes any roll or pitch
|
|
G instantly removes roll and pitch and momentum
|
|
|
|
## Things someone could do if they fork the repo
|
|
|
|
- Pointing the camera down a little bit on the drone would improve its control
|
|
- Replace the rectagles with actual models
|
|
- Add a button that will toggle the control but not the view so you can fly the drone outside of FPV |