Skip to content

GodPuffin/CarSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Car Physics Simulation Project

Table of Contents

  1. Project Description
  2. Usage Guide
  3. Troubleshooting
  4. Additional Resources

Project Description

This car physics simulation project utilizes Java and JavaFX to create a dynamic simulation considering car weight, mass, friction coefficients, and more. It incorporates an interactive sidebar for user control, terrain selection, and graphical representation of key physics variables.

Usage Guide

Controls

The controls for the simulation are straightforward:

  • Up Arrow: Apply throttle
  • Down Arrow: Apply brakes
  • Left Arrow: Steer left
  • Right Arrow: Steer right

Features

  1. Sidebar Interface:

    • Adjust engine power, car weight, and zoom intensity using sliders.
    • Select terrain among asphalt, gravel, and ice.
  2. Graphs Display:

    • Visualization of acceleration, velocity, position, speed, and throttle changes over time.
  3. Main Canvas:

    • Displays the live simulation of car physics considering the chosen parameters.

Troubleshooting

If you encounter issues:

  1. Simulation Not Starting:
    • Ensure Java and JavaFX are properly installed and updated.
    • Check console for error messages that might indicate missing dependencies or code issues.
  2. Controls Not Responding:
    • Verify keyboard inputs are not conflicting with other applications.
    • Check for any errors in the code related to input handling.

Additional Resources

Feel free to refer to the provided resources and follow the instructions for an optimized experience.

About

JavaFX Car Simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages