Coordinate Systems: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Camera Rotation:
Camera Rotation:
Yaw = Rotation around x axis, left handed
Yaw = Rotation around x axis, left handed
Pitch = Rotation around y axis, left handed
Pitch = Rotation around y axis, left handed
Roll = Rotation around z axis
Roll = Rotation around z axis
Rotation order: Y X Z


Scene Coordinates:
Scene Coordinates:
Right-handed
Right-handed
Down = +y
Down = +y


Map:
Map:
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 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

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