Car run not smooth - what to do ?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
blendermen
Posts: 14
Joined: Sat Mar 11, 2006 11:11 am

Car run not smooth - what to do ?

Post by blendermen »

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 !!
gfxstyler
Posts: 222
Joined: Tue Apr 18, 2006 11:47 pm

Post by gfxstyler »

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 :)
Post Reply