Difference between revisions of "Coordinate systems"
From VDrift
(New page: ==Coordinate system version 1== Previous to code revision 2196, the .car files all used mixed coordinate systems. * blender coordinate system car x = right & left, negative being left ...) |
|||
Line 22: | Line 22: | ||
view z = up and down, negative being down | view z = up and down, negative being down | ||
− | + | ==Coordinate system version 2== | |
As of code revision 2196, the .car files can optionally use the following coordinate system for all parameters: | As of code revision 2196, the .car files can optionally use the following coordinate system for all parameters: | ||
car x = right & left, negative being left | car x = right & left, negative being left |
Revision as of 17:27, 16 April 2009
Coordinate system version 1
Previous to code revision 2196, the .car files all used mixed coordinate systems.
* blender coordinate system car x = right & left, negative being left car y = forward & back, negative being back car z = up & down, negative being down
* .car file: mass positioning (same as blender) car x = right & left, negative being left car y = forward & back, negative being back car z = up & down, negative being down
* .car file: wheel positioning (tested on Front Right wheel) wheel x = forward and back, negative being back wheel y = left and right, negative being right wheel z = up and down, negative being down
* .car file: view positioning (same as wheel) view x = forward & back, negative being back view y = right & left, negative being right view z = up and down, negative being down
Coordinate system version 2
As of code revision 2196, the .car files can optionally use the following coordinate system for all parameters:
car x = right & left, negative being left car y = forward & back, negative being back car z = up & down, negative being down
This coordinate system was picked because it matches the blender coordinates. To use this coordinate system, specify "version = 2" in the .car file.