Skip to content

Aditya02git/GTA-Vice-City-Car-Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[[[[[[ [[[[[[ [[[[[[ [[[[[[ [[[[[[ [[ [[ [[[[[[[[ [[[[[[ [[[[[[ [[ [[ [[[[[[ [[[[[[ [[ [[ [[ [[ [[ [[ [[ [[ [[[[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[[[[[ [[[[ [[ [[ [[ [[ [[[[ [[ [[[[ [[ [[ [[ [[ [[[[[[ [[[[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[ [[[[[[ [[ [[ [[ [[ [[[[[[ [[[[[[ [[ [[ [[ [[ [[ [[[[[[ [[[[[[ [[[[[[ [[[[[[ [[ [[

Car Controller (Third Person Camera Control )with Three.js & Cannon.js

This is a Car Controller built with Three.js + Cannon.js.
It allows users to simulate driving a car inside a 3D environment with realistic physics.

Getting Started ---

To get started, make sure you have Node.js and npm installed.
Then run the following commands:

npm install
npm start


--------------------------------------------------------------------------------------------


### Usage ---

Can be integrate into any web based 3d game ..

### Help ---

Use your keyboard to control the car:

W/Arrow-Up → Accelerate

S/Arrow-Down  → Brake/ Reverse

A/Arrow-Left → Steer Left

D/Arrow-Right → Steer Right

Spacebar → Handbrake

### Future Improvements ---

🌄 More complex + realistic environments with hills, bumps, obstacles

🚗 Suspension system for improved vehicle dynamics

🏎️ Advanced techniques: drifting, powersliding

⚙️ Simulations of tire wear, fuel consumption, engine damage

🌐 Multiplayer support — real-time online racing!

### Contributing --- 

We welcome contributions!

If you have suggestions, improvements, or bug fixes, feel free to:

Open an issue 📌

Submit a pull request 🔀

Star the repo ⭐

👉 Visit the GitHub Repository: "https://github.com/Aditya02git/GTA-Vice-City-Car-Controller"

About

This is a Car-Controller made with threejs and Cannonjs similar to GTA Vice City car-controller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages