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