supertuxkart-sourceforge-migration / stk-migration-test

0 stars 0 forks source link

Skidding effect should be drawn using position of wheels #696

Closed supertuxkart-sourceforge-migration closed 10 years ago

supertuxkart-sourceforge-migration commented 10 years ago

Author: deveee

In kart_gfx.cpp we have:

Vec3 rear_left(-(kart->getKartWidth()+0.20f)*0.35f, (kart->getKartHeight()-0.6f)*0.35f,
                   -kart->getKartLength()*0.35f);

Vec3 rear_right((kart->getKartWidth()+0.20f)*0.35f, (kart->getKartHeight()-0.6f)*0.35f,
                   -kart->getKartLength()*0.35f);

Actually, we should get position of wheels, not width of kart.

BTW, what about GNU and it's flying carpet?

supertuxkart-sourceforge-migration commented 10 years ago

Author: deveee Fixed in r12921 and the next few. Thanks for that.