Tweak tyres and breaking force some more
This commit is contained in:
parent
22c2224dea
commit
77242a9989
@ -394,7 +394,7 @@ update_runtime_world :: proc(runtime_world: ^Runtime_World, dt: f32) {
|
|||||||
back_wheels := drive_wheels
|
back_wheels := drive_wheels
|
||||||
|
|
||||||
DRIVE_IMPULSE :: 3000
|
DRIVE_IMPULSE :: 3000
|
||||||
BRAKE_IMPULSE :: 500
|
BRAKE_IMPULSE :: 10
|
||||||
TURN_ANGLE :: -f32(30) * math.RAD_PER_DEG
|
TURN_ANGLE :: -f32(30) * math.RAD_PER_DEG
|
||||||
// 68% front, 32% rear
|
// 68% front, 32% rear
|
||||||
BRAKE_BIAS :: f32(0.68)
|
BRAKE_BIAS :: f32(0.68)
|
||||||
|
@ -4,7 +4,7 @@ import "core:math"
|
|||||||
|
|
||||||
Pacejka96_Params :: [11]f32
|
Pacejka96_Params :: [11]f32
|
||||||
|
|
||||||
DEFAULT_PACEJKA96_PARAMS :: Pacejka96_Params{1.65, -200, 1900, 0, 229, 0.0, 0, 0, 0, 0, 0}
|
DEFAULT_PACEJKA96_PARAMS :: Pacejka96_Params{1.65, -180, 1900, 0, 229, 0.0, 0, 0, 0, 0, 0}
|
||||||
|
|
||||||
// X is slip ratio percentage [-100, 100] or slip angle in degrees, where positive angle is turning left
|
// X is slip ratio percentage [-100, 100] or slip angle in degrees, where positive angle is turning left
|
||||||
// Output is the friction coefficient
|
// Output is the friction coefficient
|
||||||
|
Loading…
x
Reference in New Issue
Block a user