| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- return {
- summary = 'Get the pose of the Collider.',
- description = 'Returns the position and orientation of the Collider.',
- arguments = {},
- returns = {
- {
- name = 'x',
- type = 'number',
- description = 'The x position of the Collider, in meters.'
- },
- {
- name = 'y',
- type = 'number',
- description = 'The y position of the Collider, in meters.'
- },
- {
- name = 'z',
- type = 'number',
- description = 'The z position of the Collider, in meters.'
- },
- {
- name = 'angle',
- type = 'number',
- description = 'The number of radians the Collider is rotated around its axis of rotation.'
- },
- {
- name = 'ax',
- type = 'number',
- description = 'The x component of the axis of rotation.'
- },
- {
- name = 'ay',
- type = 'number',
- description = 'The y component of the axis of rotation.'
- },
- {
- name = 'az',
- type = 'number',
- description = 'The z component of the axis of rotation.'
- }
- },
- related = {
- 'Collider:getPosition',
- 'Collider:getOrientation'
- }
- }
|