Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/oslavdev/helicopter-with-physics
- Owner: oslavdev
- Created: 2022-12-02T15:13:37.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-08T14:36:08.000Z (about 2 years ago)
- Last Synced: 2024-11-24T01:26:46.721Z (3 months ago)
- Topics: cannonjs, gamedev, javascript, threejs, webgl, webgl-game
- Language: JavaScript
- Homepage: https://helicopter-with-physics.vercel.app
- Size: 56.2 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
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/)