Coordinate Systems: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 20: Line 20:
  Z = Back
  Z = Back


Attachable directions are descibed as if held in the right hand with directly in front of the viewer
Attachable directions are described as if held in the right hand with directly in front of the viewer
Attachable objects (e.g. weapons):
Attachable objects (e.g. weapons):
  X = Back
  X = Back
  Y = Left
  Y = Left
  Z = Down
  Z = Down

Latest 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 described 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