AW AVATAR Y DELTA

From ActiveWiki
Jump to navigation Jump to search


Minimum requirements
Added in version 4.1
SDKbuild 53


AW_AVATAR_Y_DELTA

Type

Integer

Description

Distance along the Y axis from the origin of the mover entity to the Y coordinate of the rider (its relative altitude).

Notes

This attribute is used together with AW_AVATAR_ANGLE and AW_AVATAR_DISTANCE to determine the position of a rider relative to the mover entity.

XY plane (front view)

              y+

              |      * r
              |     /|
              |    / |
              |   /  | d
              |  /   |
              | /    |
              |/     |
  x- ---------m--------- x+
              |
              |
              |
              |
              |
              |
              |

              y-

m = Mover entity origin.
x = Mover entity X axis.
y = Mover entity Y axis.
r = Rider.
mr = Vector from m to r (AW_AVATAR_DISTANCE).
d = Distance from the X axis (y = 0) to the rider (AW_AVATAR_Y_DELTA).

Used by

See also