Difference between revisions of "API Panel.Collision.TestTable"
From Flowcode Help
Jump to navigationJump to search (XML Import to change Variable types into Variable Types) |
(XML import of updated API docs) |
||
Line 1: | Line 1: | ||
+ | |||
+ | |||
<sidebar>API contents</sidebar> | <sidebar>API contents</sidebar> | ||
Tests whether an object collides with the table top, returns Z distance to move to rest on the table | Tests whether an object collides with the table top, returns Z distance to move to rest on the table | ||
Line 30: | Line 32: | ||
* 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 | + | ''<span style="color:red;">No additional examples</span>'' |
Revision as of 09:58, 17 June 2013
<sidebar>API contents</sidebar>
Tests whether an object collides with the table top, returns Z distance to move to rest on the table
Contents
Parameters
HANDLE Pos
- A component or position to focus the collision around
Return value
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 examples