Building vehicles which don't hit ghost bumps at high speeds?
by TerroX · in Artist Corner · 06/03/2002 (10:33 am) · 0 replies
any word on the real cause of the potholes for vehicles problem? when my vehicle springs are 100% compressed the vehicle sometimes hits invisible bumps at high speeds. I thought it was Col-1 not enclosing hubs but it still happens, I've tried alot of tests but it just seems to happen for no reason I can work out.
Lots of people have told me to enclose Hub nodes inside the Col-1 mesh, this seemed to work sometimes, but I am having the problem again.
While speeding down a hill then onto a flat area the shocks get squashed right down - which is good, but then sometimes the vehicle seems to bottom out - it is like hitting a speedbump. Sometimes the vehicle does a 180 or goes out of control, it's not too bad but I can see this being very very annoying in any game with high speed cars. I know that having a very strong spring setting would prevent it, there are many ways to prevent it - but they all require compromising some settings in some way.
I am sure there is one golden answer to this problem, but I don't know what it is yet.
Also maybe related is the wheels popping underground problem - I know that thiis happens when your hub nodes are below the Col-1 mesh, sometimes the wheels pop under the terrain when they are pushed on by the weight of the vehicle. If your Col-1 mesh encloses the hubs they cannot virtually get close enough to the terrain to accidentally pop underneath the ground.
I guess if wheel radius was high enough your hub nodes may never pop under as it may be caused by rounding of fractions or quick math kinda stuff (like fast projetiles in Tribes 2 going straight through thin walls)
OH!! and, sometimes when the vehicles land on a corner they get jammed - its like the server just gets a total freeze and spend about 10 seconds working out where the vehicle should be then BAM - you're shot off in some random direction spinning out of control.
Though I am no coder so I really am just speaking voodoo talk.
Lots of people have told me to enclose Hub nodes inside the Col-1 mesh, this seemed to work sometimes, but I am having the problem again.
While speeding down a hill then onto a flat area the shocks get squashed right down - which is good, but then sometimes the vehicle seems to bottom out - it is like hitting a speedbump. Sometimes the vehicle does a 180 or goes out of control, it's not too bad but I can see this being very very annoying in any game with high speed cars. I know that having a very strong spring setting would prevent it, there are many ways to prevent it - but they all require compromising some settings in some way.
I am sure there is one golden answer to this problem, but I don't know what it is yet.
Also maybe related is the wheels popping underground problem - I know that thiis happens when your hub nodes are below the Col-1 mesh, sometimes the wheels pop under the terrain when they are pushed on by the weight of the vehicle. If your Col-1 mesh encloses the hubs they cannot virtually get close enough to the terrain to accidentally pop underneath the ground.
I guess if wheel radius was high enough your hub nodes may never pop under as it may be caused by rounding of fractions or quick math kinda stuff (like fast projetiles in Tribes 2 going straight through thin walls)
OH!! and, sometimes when the vehicles land on a corner they get jammed - its like the server just gets a total freeze and spend about 10 seconds working out where the vehicle should be then BAM - you're shot off in some random direction spinning out of control.
Though I am no coder so I really am just speaking voodoo talk.