Difference between revisions of "API Panel.Collision.TestSingle"
From Flowcode Help
Jump to navigationJump to search (XML import of API auto-gen) |
(XML import API auto-gen) |
||
Line 1: | Line 1: | ||
wiki page name | wiki page name | ||
− | + | Tests whether an object collides with a position | |
− | |||
− | |||
===Parameters=== | ===Parameters=== | ||
Line 21: | Line 19: | ||
===Examples=== | ===Examples=== | ||
− | ====Calling in a calculation | + | ====Calling in a calculation==== |
* Declare a variable 'result' of type BOOL | * Declare a variable 'result' of type BOOL | ||
* Add to a calculation icon: result = ::Panel.Collision.TestSingle(pos, test) | * Add to a calculation icon: result = ::Panel.Collision.TestSingle(pos, test) |
Revision as of 15:34, 10 May 2013
wiki page name 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
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)