getLinearVelocityFromWorldPoint.lua 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. return {
  2. summary = 'Get the linear velocity of the Collider at a world space point.',
  3. description = [[
  4. Returns the linear velocity of a point on the Collider specified in world space.
  5. ]],
  6. arguments = {
  7. {
  8. name = 'x',
  9. type = 'number',
  10. description = 'The x coordinate in world space.'
  11. },
  12. {
  13. name = 'y',
  14. type = 'number',
  15. description = 'The y coordinate in world space.'
  16. },
  17. {
  18. name = 'z',
  19. type = 'number',
  20. description = 'The z coordinate in world space.'
  21. }
  22. },
  23. returns = {
  24. {
  25. name = 'vx',
  26. type = 'number',
  27. description = 'The x component of the velocity of the point.'
  28. },
  29. {
  30. name = 'vy',
  31. type = 'number',
  32. description = 'The y component of the velocity of the point.'
  33. },
  34. {
  35. name = 'vz',
  36. type = 'number',
  37. description = 'The z component of the velocity of the point.'
  38. }
  39. },
  40. related = {
  41. 'Collider:getLinearVelocity',
  42. 'Collider:getLinearVelocityFromLocalPoint'
  43. }
  44. }