Coordinate systems

From VDrift
Revision as of 13:53, 26 October 2008 by Venzon (talk | contribs) (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 ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.