Jumping Tires

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
morph
Posts: 10
Joined: Sun Jun 03, 2007 10:19 pm

Jumping Tires

Post by morph »

Hy i have a problem with irrnewt i want to made a motorcycle game.
but the tires jumping at start & when i drive around.
i have create 2 tires and a box for the chassi i have choose the box
because the motorcycle fall to the side with other primitivs
if try to lock the Z axis but then it won´t steer whats the problem

the map is EBT_TREE

thx morph
Vsk
Posts: 343
Joined: Thu Sep 27, 2007 4:43 pm

Post by Vsk »

Hi, I had the same problem.
Newton must have seted in right form every parameter.
I give you my datas.
I found that this must be the relationship between the parameter for a realistic behavior.
You must set the tir_suspension_lenght you need and the vehicle mass and the rest is arithmetic.
Of course if you don't like some behavior you can adjust them by changing the "1.0f" that you can found on each parameter a gave you.

This is are the data:

const float tire_suspension_length = 7.2f;

const float tire_suspension_spring = ((TotalMassVehicle)* 1.0f* 9.8f)/tire_suspension_length;

const float tire_suspension_shock = sqrt(tire_suspension_spring) * 1.0f;

I hope it helps you
Greetings
Vsk.
Post Reply