You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---@fieldm_suspension_healthpointer<float> // 0x1E8 // 100.0f: car gets slammed (old method of shooting your suspension to stance your car) // 0.0f: wheel should fall off but doesn't. Something else must be set to trigger wheel detachment
49
-
---@fieldm_tyre_healthpointer<float> // 0x1EC // <= 500.0f: flat tyre // 0.0f: no tyre
50
-
---@fieldm_tyre_wear_multpointer<float> // 0x1F0 // 0.0f: tyres won't burst from long burnout
---@fieldm_has_hydraulicspointer<bool> // 0x20D // true for cars with DONK mod
59
-
---@overloadfun(addr: pointer): CWheel|nil
21
+
---@fieldm_y_rotationpointer<float>
22
+
---@fieldm_y_rotation_invpointer<float>
23
+
---@fieldm_offset_from_bodypointer<float>
24
+
---@fieldm_x_offsetpointer<float> // same as offset from body?
25
+
---@fieldm_last_ground_pospointer<vec3>
26
+
---@fieldm_wheel_transformarray<pointer<fMatrix44>> // TODO: this is wrong; fix it // NOTE: these seem to be a bunch of vector3s, not a 4x4 matrix
27
+
---@fieldm_parallel_wheel_indexpointer<int8_t>
28
+
---@fieldm_tyre_radiuspointer<float> -- these now work but I had no patience to figure out how to reset them. wheel width/radius changes and sticks but the value in memory immediately reverses back to default
29
+
---@fieldm_rim_radiuspointer<float> -- //
30
+
---@fieldm_unk_rim_radiuspointer<float> -- // I have no idea what this is for. Its the exact same as 0x0114
31
+
---@fieldm_tyre_widthpointer<float>
32
+
---@fieldm_handling_datapointer<CHandlingData>
33
+
---@fieldm_vehiclepointer<CVehicle>
34
+
---@fieldm_suspension_lengthpointer<float>
35
+
---@fieldm_max_suspension_travelpointer<float>
36
+
---@fieldm_rest_positionpointer<float>
37
+
---@fieldm_rest_position_2pointer<float> prefer this to raise/lower individual wheels
38
+
---@fieldm_unk0140pointer<float>
39
+
---@fieldm_accel_mass_multpointer<float>
40
+
---@fieldm_unk_0148pointer<float>
41
+
---@fieldm_suspension_raisepointer<float>
42
+
---@fieldm_unk_suspension_raisepointer<float>
43
+
---@fieldm_suspension_fwd_offsetpointer<float>
44
+
---@fieldm_hydraulic_statepointer<int32_t> some enum related to hydraulic state. can't find any refs online. where's Yimura when you need to skid from him? :(
---@fieldm_tyre_temperaturepointer<float> -- don't want to admit how long it took to figure out what this little shit is. are we playing Assetto Corsa now? it seems to only be relevant for F1 vehicles
53
+
---@fieldm_unk_0194pointer -- ??
54
+
---@fieldm_tire_drag_coeffpointer<float>
55
+
---@fieldm_top_speed_multpointer<float>
56
+
---@fieldm_steering_anglepointer<float>
57
+
---@fieldm_brake_forcepointer<float>
58
+
---@fieldm_drive_forcepointer<float>
59
+
---@fieldm_unk_01E4pointer<float>
60
+
---@fieldm_suspension_healthpointer<float> -- 100.0f: car gets slammed (old method of shooting your suspension to stance your car) // 0.0f: wheel should fall off but doesn't. Something else must be set to trigger wheel detachment
61
+
---@fieldm_tyre_healthpointer<float> -- <= 500.0f: flat tyre // 0.0f: no tyre
62
+
---@fieldm_tyre_wear_multpointer<float> -- 0.0f: tyres won't burst from long burnout
63
+
---@fieldm_tyre_wear_unkpointer<float> -- similar? // looks like a wear rate not current tyre wear
0 commit comments