Re #805: shift the wings z position to the CoG, too.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6093 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 6f41366537e687cb0a923858f921642b709c5f59 Former-commit-id: 6a23f07ad1fa3b6398e32a0720e2176751bf33fb
This commit is contained in:
parent
7bef87b570
commit
ac9c2271e3
1 changed files with 1 additions and 0 deletions
|
@ -210,6 +210,7 @@ SimCarConfig(tCar *car)
|
|||
for (i = 0; i < 2; i++) {
|
||||
car->wing[i].staticPos.x -= car->statGC.x;
|
||||
car->wing[i].staticPos.y -= car->statGC.y;
|
||||
car->wing[i].staticPos.z -= car->statGC.z;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue