CollisionTriangle.htm 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. <html>
  2. <head>
  3. <title>Blitz3D Docs</title>
  4. <link rel=stylesheet href=../css/commands.css type=text/css>
  5. </head>
  6. <body>
  7. <h1>CollisionTriangle ( entity,index )</h1>
  8. <h1>Parameters</h1>
  9. <table>
  10. <tr>
  11. <td>
  12. entity - entity handle <br />
  13. index - index of collision
  14. </td>
  15. </tr>
  16. </table>
  17. <h1>Description</h1>
  18. <table>
  19. <tr>
  20. <td>
  21. Returns the index number of the triangle belonging to the specified entity that was closest to the point of a particular collision. <br />
  22. <br />
  23. Index should be in the range 1...CountCollisions( entity ), inclusive.
  24. <br>
  25. <br>
  26. See also: <a class=small href=CollisionX.htm>CollisionX</a>, <a class=small href=CollisionY.htm>CollisionY</a>, <a class=small href=CollisionZ.htm>CollisionZ</a>, <a class=small href=CollisionNX.htm>CollisionNX</a>, <a class=small href=CollisionNY.htm>CollisionNY</a>, <a class=small href=CollisionNZ.htm>CollisionNZ</a>, <a class=small href=CountCollisions.htm>CountCollisions</a>, <a class=small href=EntityCollided.htm>EntityCollided</a>, <a class=small href=CollisionTime.htm>CollisionTime</a>, <a class=small href=CollisionEntity.htm>CollisionEntity</a>, <a class=small href=CollisionSurface.htm>CollisionSurface</a>, <a class=small href=CollisionTriangle.htm>CollisionTriangle</a>.
  27. </td>
  28. </tr>
  29. </table>
  30. <br>
  31. <a target=_top href=../index.htm>Index</a><br>
  32. <br>
  33. Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=CollisionTriangle&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
  34. </html>