Difference between revisions of "Coordinate systems"

From VDrift
Jump to: navigation, search
Line 1: Line 1:
==Coordinate system version 1==
+
==Coordinate system version 1 (outdated)==
 
Previous to code revision 2196, the .car files all used mixed coordinate systems.
 
Previous to code revision 2196, the .car files all used mixed coordinate systems.
  

Revision as of 18:27, 16 April 2009

Coordinate system version 1 (outdated)

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.