Dota 2 Workshop Tools/Scripting/API/Global.CalcClosestPointOnEntityOBB: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
 
(Dota_Lebot push: Updated Page)
Line 6: Line 6:




''' Vector CalcClosestPointOnEntityOBB(handle ''entity'', Vector ''closestTo'') '''
''' Vector CalcClosestPointOnEntityOBB(handle ''handle_1'', Vector ''Vector_2'') '''


''Compute the closest point on the OBB of an entity.''
''Compute the closest point on the OBB of an entity.''
Line 14: Line 14:
;Example
;Example
<source lang="lua">
<source lang="lua">
--some code here
function CalcClosestPointOnEntityOBB( handle_1, Vector_2 ) end
</source>
</source>
== Parameters ==
== Parameters ==
Line 23: Line 23:
|-
|-
| handle
| handle
| entity
| handle_1
| No Description Set
| No Description Set
|-
|-
| Vector
| Vector
| closestTo
| Vector_2
| No Description Set
| No Description Set
|}
|}
Line 33: Line 33:
== Returns ==
== Returns ==


''Vector'' -
''Vector'' - No Description Set

Revision as of 23:05, 18 June 2015

Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

Vector CalcClosestPointOnEntityOBB(handle handle_1, Vector Vector_2)

Compute the closest point on the OBB of an entity.


Example
function CalcClosestPointOnEntityOBB( handle_1, Vector_2 ) end

Parameters

Type Name Description
handle handle_1 No Description Set
Vector Vector_2 No Description Set

Returns

Vector - No Description Set