Jump to content

API Panel.Collision.TestTable: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import
Admin (talk | contribs)
XML import
Line 3: Line 3:


<div style="width:25%; float:right" class="toc">
<div style="width:25%; float:right" class="toc">
===Class hierarchy===[[API Panel|Panel]]
====Class hierarchy====
[[API Panel|Panel]]
:[[API Panel.Collision|Collision]]
:[[API Panel.Collision|Collision]]
::[[API Panel.Collision|TestTable]]
::[[API Panel.Collision|TestTable]]
Line 10: Line 11:


==Parameters==
==Parameters==
''[[Variable types|HANDLE]] Pos''
[[Variable types|HANDLE]] ''Pos''
:A component or position to focus the collision around
:A component or position to focus the collision around


Line 19: Line 20:


==Detailed description==
==Detailed description==
''No additional information''
''<span style="color:red;">No additional information</span>''
 


==Examples==
==Examples==
Line 25: Line 27:
* Declare a variable 'result' of type FLOAT
* Declare a variable 'result' of type FLOAT
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Panel.Collision.TestTable(pos)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Panel.Collision.TestTable(pos)</pre>
''<span style="color:red;">No additional information</span>''

Revision as of 22:08, 11 May 2013

<sidebar>API contents</sidebar> Tests whether an object collides with the table top, returns Z distance to move to rest on the table

Class hierarchy

Panel

Collision
TestTable

Parameters

HANDLE Pos

A component or position to focus the collision around

Return value

FLOAT

Returns Z distance to move to rest on the table

Detailed description

No additional information


Examples

Calling in a calculation

  • Declare a variable 'result' of type FLOAT
  • Add to a calculation icon:
    result = ::Panel.Collision.TestTable(pos)

No additional information