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

https://github.com/cconsta1/threejs_car_demo

This is the source code (three.js and Cannon-es) for a GLTF car that can be controlled from the keyboard
https://github.com/cconsta1/threejs_car_demo

3d-models 3d-website cannon-es cannonjs game-development gltf gltf-loader nodejs threejs threejs-example threejs-learning

Last synced: about 1 year ago
JSON representation

This is the source code (three.js and Cannon-es) for a GLTF car that can be controlled from the keyboard

Awesome Lists containing this project

README

          

# Three.js and Cannon-es demo car

This is a demo site that adds physics to a GLTF car.

"Vintage Racing Car" [link](https://skfb.ly/o8wJy) by Mateusz Woliński
is licensed under Creative Commons Attribution
[link](http://creativecommons.org/licenses/by/4.0/).

The texture used is by Joao Paolo [link](https://3dtextures.me/).

The project was built using template's borrowed by [Bruno Simon's](https://github.com/brunosimon)
[threejs-journey](https://threejs-journey.com/) class.

The project uses the [Cannon-es](https://pmndrs.github.io/cannon-es/docs/index.html)
and [three.js](https://threejs.org/) libraries. For any questions, suggestions, etc,
you can email me at [email](chrysovalantis.constantinou@gmail.com).

## Setup
Download [Node.js](https://nodejs.org/en/download/).
Run the following commands:

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

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

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