Skip to content

decentraland-scenes/cannon-car-example-scene

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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