vehicle brakes...

me_go_fast

14-04-2006 06:33:48

Hello, I was wondering if someone could explain to me what the setBrakeAcceleration function does and what the two parameters mean. i looked at the documentation for newton but didn't find a very good explanation of it. I added the following code to my project but the vehicle did not slow down! I think I am using it wrong! :D

mCar->getFirstTire()->setBrakeAcceleration(400,500);

In my code i loop through all the tires and add the brake acceleration for all of them. Thanks for the help!