Coordinate Systems: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
  Right = +x
  Right = +x
  Up = +z
  Up = +z
Object directions are described from the viewpoint of the object.
Objects (e.g. npc):
X = Left
Y = Down
Z = Back
Attachable directions are descibed as if held in the right hand with directly in front of the viewer
Attachable objects (e.g. weapons):
X = Back
Y = Left
Z = Down

Revision as of 19:26, 21 August 2017

Camera Rotation:

Yaw = Rotation around x axis, left handed
Pitch = Rotation around y axis, left handed
Roll = Rotation around z axis

Rotation order: Y X Z

Scene Coordinates:

Right-handed
Down = +y

Map:

Right = +x
Up = +z

Object directions are described from the viewpoint of the object. Objects (e.g. npc):

X = Left
Y = Down
Z = Back

Attachable directions are descibed as if held in the right hand with directly in front of the viewer Attachable objects (e.g. weapons):

X = Back
Y = Left
Z = Down