decentraland-scenes / cannon-car-example-scene

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannon Car Example Scene

demo of cannon-car-example-scene running in preview.

demo

Description

Using raycast vehicle from the cannon.js physics engine. You can find the original code that this was based on here.

Running the scene

After you clone the project, run the following:

$ npm i -g decentraland

Followed by:

$ dcl start
  • Left Mouse Button to accelerate
  • Press E Key to turn left
  • Press F Key to turn right
  • Press E and F Keys together to brake

About


Languages

Language:TypeScript 95.9%Language:Dockerfile 4.1%