• Welcome to PiBoSo Official Forum. Please login or sign up.
 
November 24, 2020, 09:13:27 AM

News:

World Racing Series beta14 available! :)


Suspension problem

Started by SmakzZ, April 01, 2017, 04:42:33 PM

Previous topic - Next topic

SmakzZ

Hello,
I encounter some problems when modeling the suspension physics. If you look at the screenshots the rear shocks body links are in the ground (maybe at 0,0,0) and when i'm on the track the suspension are totally reversed (the bump and rebound are reversed if you now what I mean)

Hope someone can help me  ;)

Here is a the GEOM file:
type = car
id = kamikaz_2
chassis_mass = 0.0, 0.30, 0.30
fuel = 0.36125, 0.171, -0.638418
pressure_center = 0.0, 0.57, 0.4
pressure_center2 = 0.0, 0.57, 0.1
diffuser = 0.0, 0.0, -0.873085
bottom_frontleft = -0.3, 0, 1.1168
bottom_frontright = 0.3, 0, 1.1168
bottom_rearleft = -0.3, 0, -1.0286
bottom_rearright = 0.3, 0, -1.0286
wing_frontleft = 0.0, 0.0, 0.0
wing_frontright = 0.0, 0.0, 0.0
wing_rear = 0.0, 1.24237, -1.77593
driver_mass = 0.0, 0.445732, -0.0130868
driver = 0, 0, 0
driver_eyes = 0.0, 0.975, -0.335
t-cam = -6.3913e-011, 1.39843, -0.261613
b-box = 1, 1.3, 4
coll
{
chassis
{
numspheres = 1
sphere0
{
pos = 0, 0.9, -0.6
radius = 0.4
}
numboxes = 2
box0 ; main
{
pos = 0, 0.30, 0.16
size = 1.55, 0.27, 2.6
pitch = 0
yaw = 0
}
box1 ; roof
{
pos = 0, 1.15, -0.27
size = 1.1, 0.1, 0.7
pitch = 9
yaw = 0
}
}
}
num_axles = 2
axle0
{
type = doublewishbone
steerlink = 1
suspension0
{
lowerarm_bodylink0 = -0.0982079, 0.165925, 1.0256081
lowerarm_bodylink1 = -0.0982082, 0.165925, 1.3853564
lowerarm_spindlelink = -0.6157582, 0.1660113, 1.2036022
upperarm_bodylink0 = -0.1880798, 0.3258037, 1.0102593
upperarm_bodylink1 = -0.1479877, 0.3258037, 1.3237413
camber_setup = 1
upperarm_spindlelink_cambermin_castermin = -0.6, 0.33326869, 1.150892
upperarm_spindlelink_cambermin_castermax = -0.6, 0.33326869, 1.150892
upperarm_spindlelink_cambermax_castermin = -0.6, 0.33326869, 1.150892
upperarm_spindlelink_cambermax_castermax = -0.6, 0.33326869, 1.150892
caster_steps = 0
camber_steps = 0
shock_bodylink = -0.1318886, 0.3878157, 1.2042563
shock_lowerarmlink = -0.5521199, 0.1923155, 1.2036833
shock_minlength = 0.3
spindle_pos = -0.6, 0.2411776, 1.1800354
spindle_rot = 0, 0, -1.3
tie_bodylink = -0.106336, 0.2745008, 1.2918416
tie_spindlelink = -0.6077033, 0.2769198, 1.2401645
hub_link = -0.7171845, 0.2411776, 1.1800354
}
suspension1
{
lowerarm_bodylink0 = 0.0982079, 0.165925, 1.0256081
lowerarm_bodylink1 = 0.0982082, 0.165925, 1.3853564
lowerarm_spindlelink = 0.6157582, 0.1660113, 1.2036022
upperarm_bodylink0 = 0.1880798, 0.3258037, 1.0102593
upperarm_bodylink1 = 0.1479877, 0.3258037, 1.3237413
camber_setup = 1
upperarm_spindlelink_cambermin_castermin = 0.6, 0.33326869, 1.150892
upperarm_spindlelink_cambermin_castermax = 0.6, 0.33326869, 1.150892
upperarm_spindlelink_cambermax_castermin = 0.6, 0.33326869, 1.150892
upperarm_spindlelink_cambermax_castermax = 0.6, 0.33326869, 1.150892
caster_steps = 0
camber_steps = 0
shock_bodylink = 0.1318886, 0.3878157, 1.2042563
shock_lowerarmlink = 0.5521199, 0.1923155, 1.2036833
shock_minlength = 0.3
spindle_pos = 0.6, 0.2411776, 1.1800354
spindle_rot = 0, 0, 1.3
tie_bodylink = 0.106336, 0.2745008, 1.2918416
tie_spindlelink = 0.6077033, 0.2769198, 1.2401645
hub_link = 0.7171845, 0.2411776, 1.1800354
}
}
axle1
{
type = macpherson
suspension0
{
lowerarm_bodylink0 = -0.1188957, 0.16598, -1.1129168
lowerarm_bodylink1 = -0.0785204, 0.2169416, -0.4015029
lowerarm_spindlelink = -0.5715613, 0.1734638, -0.9217634
shock_bodylink_cambermin_castermin = -0.16, 0.767224, -0.94
shock_bodylink_cambermin_castermax = -0.16, 0.767224, -0.86
shock_bodylink_cambermax_castermin = -0.20, 0.767224, -0.94
shock_bodylink_cambermax_castermax = -0.20, 0.767224, -0.86
caster_steps = 0
camber_steps = 0
shock_spindlelink = -0.5706419, 0.2787616, -0.9220406
shock_minlength = 0.95
spindle_pos = -0.5, 0.2271875, -0.9082003
spindle_rot = 0, 0, 0
tie_bodylink = -0.3, 0.08, -1.15
tie_spindlelink = -0.68, 0.08, -1.2
hub_link = -0.6733917, 0.2271875, -0.9082003
}
suspension1
{
lowerarm_bodylink0 = 0.1188957, 0.16598, -1.1129168
lowerarm_bodylink1 = 0.0785204, 0.2169416, -0.4015029
lowerarm_spindlelink = 0.5715613, 0.1734638, -0.9217634
shock_bodylink_cambermin_castermin = 0.16, 0.767224, -0.94
shock_bodylink_cambermin_castermax = 0.16, 0.767224, -0.86
shock_bodylink_cambermax_castermin = 0.20, 0.767224, -0.94
shock_bodylink_cambermax_castermax = 0.20, 0.767224, -0.86
caster_steps = 0
camber_steps = 0
shock_spindlelink = 0.5706419, 0.2787616, -0.9220406
shock_minlength = 0.95
spindle_pos = 0.5, 0.2271875, -0.9082003
spindle_rot = 0, 0, 0
tie_bodylink = 0.3, 0.08, -1.15
tie_spindlelink = 0.68, 0.08, -1.2
hub_link = 0.6733917, 0.2271875, -0.9082003
}
}


BOBR6 84

iv'e no idea how to help you but that looks like alot of fun!  ;D 8) what cc is it can i ask?

PiBoSo


Since the rear wheels are not steering,

shock_bodylink_cambermin
shock_bodylink_cambermax

should be used instead for the top mounting of the shocks.
"Obviously your ambition outweighs your talent".

SmakzZ

Thanks Piboso it's working  :D
Now i have to find how to show the 3d models of the suspension.
Quote from: BOBR6 84 on April 01, 2017, 07:22:25 PM
iv'e no idea how to help you but that looks like alot of fun!  ;D 8) what cc is it can i ask?
It's a 600cc engine (Yamaha R6 or Kawasaki ZX6R principally) ;)