Jump to content

API Panel.Collision.TestTable: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import API changes
JonnyW (talk | contribs)
XML Import to change Variable types into Variable Types
Line 11: 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




==Return value==
==Return value==
[[Variable types|FLOAT]]
[[Variable Types|FLOAT]]


Returns Z distance to move to rest on the table
Returns Z distance to move to rest on the table

Revision as of 11:09, 10 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

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