setPosition.lua 729 B

12345678910111213141516171819202122232425262728293031
  1. return {
  2. summary = 'Set the position of the Collider.',
  3. description = 'Sets the position of the Collider.',
  4. arguments = {
  5. {
  6. name = 'x',
  7. type = 'number',
  8. description = 'The x position of the Collider, in meters.'
  9. },
  10. {
  11. name = 'y',
  12. type = 'number',
  13. description = 'The y position of the Collider, in meters.'
  14. },
  15. {
  16. name = 'z',
  17. type = 'number',
  18. description = 'The z position of the Collider, in meters.'
  19. }
  20. },
  21. returns = {},
  22. related = {
  23. 'Collider:applyForce',
  24. 'Collider:getLinearVelocity',
  25. 'Collider:setLinearVelocity',
  26. 'Collider:getOrientation',
  27. 'Collider:setOrientation',
  28. 'Collider:getPose',
  29. 'Collider:setPose'
  30. }
  31. }