Difference between revisions of "GetDistanceBetween"
From Dragon Age Toolset Wiki
(Generated by Sunjammer's Dragon Age Script Paser) |
BryanDerksen (Talk | contribs) (looks okay, removing tag) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=GetDistanceBetween | |name=GetDistanceBetween | ||
Line 17: | Line 16: | ||
== Description == | == Description == | ||
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | <!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | ||
− | Returns the distance between object oObjectA and object oObjectB. Distance is measured through | + | Returns the distance between object oObjectA and object oObjectB. Distance is measured through three dimensional space and not just along the xy plane, so the hieght component of each object's location is relevant. |
− | three | + | |
− | is relevant. | + | |
<!-- == Remarks == --> | <!-- == Remarks == --> |
Latest revision as of 18:55, 2 March 2010
Returns the distance between two objects.
- Parameters:
- oObjectA
- The first object
- oObjectB
- The second object
- Returns:
- Returns the distance between the two objects. Returns -1.0f on error.
- Source:
- script.ldf
Description
Returns the distance between object oObjectA and object oObjectB. Distance is measured through three dimensional space and not just along the xy plane, so the hieght component of each object's location is relevant.