Hi,
I am trying to simulate a situation where the car need to jump from one block to another, for this the car comes at a speed and jump over a ramp , i use the below code to give car the speed...
level1World1.car1.b2body.ApplyImpulse(new V2(1, 0), level1World1.car1.b2body.GetWorldCenter());
but the car gains too much speed and almost starts to fly , is there a way i can define the gradual speed at which the car can move and then reach a max speed and not go beyond it ...
Thanks in advance ...
Regards
Jin
I am trying to simulate a situation where the car need to jump from one block to another, for this the car comes at a speed and jump over a ramp , i use the below code to give car the speed...
level1World1.car1.b2body.ApplyImpulse(new V2(1, 0), level1World1.car1.b2body.GetWorldCenter());
but the car gains too much speed and almost starts to fly , is there a way i can define the gradual speed at which the car can move and then reach a max speed and not go beyond it ...
Thanks in advance ...
Regards
Jin