Method WorldObject:GetRelativePoint [-] [+]

Returns the x, y and z of a point dist away from the WorldObject.

Synopsis

x, y, z = WorldObject:GetRelativePoint( distance, angle )

Arguments

number distance

Specifies the distance of the point from the WorldObject in yards.

Valid numbers: all decimal numbers.

number angle

Specifies the angle of the point relative to the orientation / facing of the WorldObject in radians.

Valid numbers: all decimal numbers.

Returns

number x

Valid numbers: all decimal numbers.

number y

Valid numbers: all decimal numbers.

number z

Valid numbers: all decimal numbers.

Generated on
© 2010 - 2024 Eluna Lua Engine