API Panel.Collision: Difference between revisions
Appearance
XML import API auto-gen |
XML import |
||
| Line 2: | Line 2: | ||
Collision detection functions | Collision detection functions | ||
==Functions provided for this class== | |||
{||-|[[API Panel.Collision.TestTable|TestTable]]|Tests whether an object collides with the table top, returns Z distance to move to rest on the table|-|[[API Panel.Collision.TestSingle|TestSingle]]|Tests whether an object collides with a position|-|[[API Panel.Collision.GetSingleAxis|GetSingleAxis]]|Tests whether an object collides with a position|-|[[API Panel.Collision.GetSinglePos|GetSinglePos]]|Returns the position to move Pos to so it does not collide with Test - null if no collide|-|[[API Panel.Collision.GetMultiAxis|GetMultiAxis]]|Tests whether an object collides with a position|-|[[API Panel.Collision.GetMultiPos|GetMultiPos]]|Returns the position to move Pos to so it does not collide with any other object - null if no collide|} | {| | ||
|- | |||
|width="35%"|[[API Panel.Collision.TestTable|TestTable]] | |||
|Tests whether an object collides with the table top, returns Z distance to move to rest on the table | |||
|- | |||
|width="35%"|[[API Panel.Collision.TestSingle|TestSingle]] | |||
|Tests whether an object collides with a position | |||
|- | |||
|width="35%"|[[API Panel.Collision.GetSingleAxis|GetSingleAxis]] | |||
|Tests whether an object collides with a position | |||
|- | |||
|width="35%"|[[API Panel.Collision.GetSinglePos|GetSinglePos]] | |||
|Returns the position to move Pos to so it does not collide with Test - null if no collide | |||
|- | |||
|width="35%"|[[API Panel.Collision.GetMultiAxis|GetMultiAxis]] | |||
|Tests whether an object collides with a position | |||
|- | |||
|width="35%"|[[API Panel.Collision.GetMultiPos|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'' | |||
Revision as of 16:20, 11 May 2013
<sidebar>API contents</sidebar> Collision detection functions
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