Jump to content

API Panel.Collision.TestSingle: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import API auto-gen
Admin (talk | contribs)
XML import API auto-gen
Line 1: Line 1:
wiki page name
API contents
Tests whether an object collides with a position
Tests whether an object collides with a position



Revision as of 15:34, 10 May 2013

API contents Tests whether an object collides with a position


Parameters

HANDLE Pos

A component or position to focus the collision around

HANDLE Test

An object to test collisions with

Return value

BOOL

No additional information

Detailed description

No additional information

Examples

Calling in a calculation

  • Declare a variable 'result' of type BOOL
  • Add to a calculation icon: result = ::Panel.Collision.TestSingle(pos, test)