getAngularVelocity.lua 698 B

1234567891011121314151617181920212223242526272829
  1. return {
  2. summary = 'Get the angular velocity of the Collider.',
  3. description = 'Returns the angular velocity of the Collider.',
  4. arguments = {},
  5. returns = {
  6. {
  7. name = 'vx',
  8. type = 'number',
  9. description = 'The x component of the angular velocity.'
  10. },
  11. {
  12. name = 'vy',
  13. type = 'number',
  14. description = 'The y component of the angular velocity.'
  15. },
  16. {
  17. name = 'vz',
  18. type = 'number',
  19. description = 'The z component of the angular velocity.'
  20. }
  21. },
  22. related = {
  23. 'Collider:getLinearVelocity',
  24. 'Collider:setLinearVelocity',
  25. 'Collider:applyTorque',
  26. 'Collider:getOrientation',
  27. 'Collider:setOrientation'
  28. }
  29. }