setAngularVelocity.lua 695 B

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