Difference between revisions of "Coordinate systems"
From VDrift
(Current system first, bullets instead of code blocks.) |
(No difference)
|
Revision as of 12:24, 12 December 2010
Coordinate system
Currently, the .car files 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.
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