Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oslavdev/helicopter-with-physics

[PERSONAL PROJECT] A WebGl helicopter with third person controller and physics. WIP.
https://github.com/oslavdev/helicopter-with-physics

cannonjs gamedev javascript threejs webgl webgl-game

Last synced: 21 days ago
JSON representation

[PERSONAL PROJECT] A WebGl helicopter with third person controller and physics. WIP.

Awesome Lists containing this project

README

        

# Flying Helicopter with physics

Developed with Three.js and Cannon.js.

## Preview

![Animated](readme/video.gif?raw=true 'Animated')

## Setup

``` bash
# Install dependencies (only the first time)
pnpm install

# Run the local server at localhost:8080
pnpm run dev

# Build for production in the dist/ directory
pnpm run build
```

To run with debugger, add #debug in address line: http://localhost:3000#debug

## Controls

Start engine, then wait a few seconds before starting to move.

| Button | Action |
| ----------- | ----------- |
| W | Up |
| S | Down |
| A | Turn Left |
| D | Turn Right |
| G | Start Engine |
| Arrow Up | Forward |
| Arrow Down | Backward |
| Arrow Left | Tilt left |
| Arrow Right | Tilt right |

## Credits

This work includes:

- "Helicopter v2" (https://sketchfab.com/3d-models/helicopter-v2-42927f1c939e4447978b09dd1e22521c) by Aditya Graphical (https://sketchfab.com/Adityakm) licensed under CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)
- "Cargo Crate" (https://sketchfab.com/3d-models/cargo-crate-19a32159a3d6443e95105f4f7cb51c39) by boysichterman (https://sketchfab.com/boysichterman) licensed under CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)
- "Oil Platform Troll A" (https://sketchfab.com/3d-models/oil-platform-troll-a-6b0c42c58598434986d59073ff360429) by Arkikon (https://sketchfab.com/ragnar) licensed under CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)