Car run not smooth - what to do ?
-
- Posts: 14
- Joined: Sat Mar 11, 2006 11:11 am
Car run not smooth - what to do ?
Hi. Do you know some tutorials how to make a car in irrlicht. I have a mesh of car but if i hit "w" he run but not smooth(from 5 to 10).How i can do smooth mave and rotation. If you have tutorials or somethink what can help me - please -help
Irrlicht is really simple - just try !!
you should search the irrlicht forum for delta-timing.
get the delta time and divide it thru 1000 so its more smooth.
then store the last 20 delta-times in an array and then store the average in a new float (you do that by adding all the array values to one variable and divide the variable thru the number of array elements) - this way you have smooth delta timing which doesnt "jump".
btw: bitplane told me about that method
get the delta time and divide it thru 1000 so its more smooth.
then store the last 20 delta-times in an array and then store the average in a new float (you do that by adding all the array values to one variable and divide the variable thru the number of array elements) - this way you have smooth delta timing which doesnt "jump".
btw: bitplane told me about that method