Forums
Unity 3D Car tutorial - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: General Discussion (https://www.vdrift.net/Forum/forumdisplay.php?fid=8)
+--- Thread: Unity 3D Car tutorial (/showthread.php?tid=1651)



Unity 3D Car tutorial - LBodnar - 07-28-2012

I don't know if this is useful or not but the car tutorial on Unity 3D http://unity3d.com/support/resources/tutorials/car-tutorial has plenty of interesting bits in it.

A lot of code used in Advanced Physics scene with Lamborghini seems to have similarity with Vdrift (or is there a further common root?) There are almost no comments.

I am only interested in tyre model, so looked only at Wheel and total forces calcs.

Looks like somebody got slightly confused there. E.g. they use a[0]..a[14] array with lateral slip coefficients but fail to notice that presence of a111 and a112 causes a12 and a13 to be repositioned into a[13] and a[14]. So code ends up declaring a[0]..a[14] but uses only a[0]..a[13] in calculations.

Hmmm... Smile

Leo


- NaN - 07-29-2012

Look here: http://vdrift.net/Forum/viewtopic.php?t=1740


- LBodnar - 07-29-2012

NewLife is cool, he has written a package based on Unity 3D original car tutorial.

It is that tutorial ( http://unity3d.com/support/resources/tutorials/car-tutorial ) that I was talking about, not NewLife's work.

Leo


RE: Unity 3D Car tutorial - dongvanhung - 07-25-2017

Good turorial !