-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash sensitivty #61
Comments
Thanks @shazz
generally if you lower a bit the collision_area_threshold (% of the car sprite area in collision with the track) and/or the crash_certainty_threshold (my special sauce number calculated from all the parameters)), you will crash a lot more. #Collision Settings
diagonal_detection_tolerance = 2
vector_simulation_length = 10
side_detection_tolerance = 7
max_speed_crash_threshold = 4000#3000
collision_area_threshold = 80#75
#Threshold over which theer is a higher chance to crash
speed_crash_probability_threshold = 0.85
#% increase of probability to crash if condition is true
speed_crash_probability_penalty = 1.2
sensitive_border_crash_probability_penalty = 1.4
#Max Random number drawn to calculate Crash probability
crash_random_max = 60
crash_certainty_treshold = 85#80 |
@shazz I've adjusted the parameters to make the crash more prone to happen. Let me knwo if it feels more realistic to you now! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the original game, it is easier to crash against the borders (mostly every time at full speed) than in pysprint
The text was updated successfully, but these errors were encountered: