Jump to content

API Panel.Collision: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import
Admin (talk | contribs)
XML import
Line 2: Line 2:
Collision detection functions
Collision detection functions
This class is contained within [[API Panel|Panel]]
This class is contained within [[API Panel|Panel]]
__TOC__


==Functions provided for this class==
==Functions provided for this class==
Line 28: Line 30:
==Examples==
==Examples==
''No examples available''
''No examples available''
==See also==

Revision as of 21:22, 11 May 2013

<sidebar>API contents</sidebar> Collision detection functions This class is contained within Panel

Functions provided for this class

TestTable Tests whether an object collides with the table top, returns Z distance to move to rest on the table
TestSingle Tests whether an object collides with a position
GetSingleAxis Tests whether an object collides with a position
GetSinglePos Returns the position to move Pos to so it does not collide with Test - null if no collide
GetMultiAxis Tests whether an object collides with a position
GetMultiPos Returns the position to move Pos to so it does not collide with any other object - null if no collide


Examples

No examples available

See also