Difference between revisions of "API Panel.Collision.TestTable"

From Flowcode Help
Jump to navigationJump to search
(XML import)
(XML import)
Line 3: Line 3:
  
 
<div style="width:25%; float:right" class="toc">
 
<div style="width:25%; float:right" class="toc">
===Class hierarchy===
+
===Class hierarchy===[[API |API ]]
:Panel
+
:[[API Panel|Panel]]
::Collision
+
::[[API Panel.Collision|Collision]]
 
:::TestTable
 
:::TestTable
 
</div>
 
</div>

Revision as of 21:16, 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===API

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)