Distance

From Ōkami Speedrun Wiki
Revision as of 14:31, 31 May 2021 by Auride (talk | contribs) (→‎Explanation: adding directionality of coordinates)
Jump to navigation Jump to search

Note: This page describes a unit used in Okami. To learn more about the values representing quantities of these units, see Reverse Engineering.

Explanation

The locations of objects in-game are internally represented as a vector of 3 displacements (relative distances) from the origin point (coordinate (0,0,0)) of a map. These displacements are represented as single-precision (4 byte) floats. Coordinates are stored in the order (X, Y, Z). Positive X points towards the East. Positive Y points upwards. Positive Z points to the South.

Examples

  • Amaterasu's model is roughly 24 units of distance in length.
  • A single ground jump raises Amaterasu roughly 68 units above the ground.
  • The two loading zones in River of the Heavens are roughly 5,000 units apart.
  • In North Ryoshima, the loading zones to Ryoshima and Catcall Tower are roughly 12,000 units apart.
  • The interior of the dojo in Ryoshima is roughly 10,500 units below the foot of the stairs to Ankoku temple (see Stair Clip).

Related Units