AlignToVector.htm 1021 B

1234567891011121314151617181920212223242526272829303132333435363738
  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>AlignToVector entity,vector_x#,vector_y#,vector_z#,axis[,rate#]</h1>
  8. <h1>Parameters</h1>
  9. <table>
  10. <tr>
  11. <td>
  12. entity - entity handle <br />
  13. vector_x# - vector x <br />
  14. vector_y# - vector y <br />
  15. vector_z# - vector z <br />
  16. <br />
  17. axis - axis of entity that will be aligned to vector <br />
  18. 1: x-axis <br />
  19. 2: y-axis <br />
  20. 3: z-axis <br />
  21. <br />
  22. rate# (optional) - rate at which entity is aligned from current orientation to vector orientation. Should be in the range 0 to 1, 0 for smooth transition and 1 for 'snap' transition. Defaults to 1.
  23. </td>
  24. </tr>
  25. </table>
  26. <h1>Description</h1>
  27. <table>
  28. <tr>
  29. <td>
  30. Aligns an entity axis to a vector.
  31. </td>
  32. </tr>
  33. </table>
  34. <br>
  35. <a target=_top href=../index.htm>Index</a><br>
  36. <br>
  37. Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=AlignToVector&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
  38. </html>