| 1234567891011121314151617181920212223242526272829303132333435363738 |
- return {
- summary = 'Get the orientation of the Collider.',
- description = 'Returns the orientation of the Collider in angle/axis representation.',
- arguments = {},
- returns = {
- 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 = { 'angle', 'ax', 'ay', 'az' }
- }
- },
- related = {
- 'Collider:applyTorque',
- 'Collider:getAngularVelocity',
- 'Collider:setAngularVelocity',
- 'Collider:getPosition',
- 'Collider:setPosition',
- 'Collider:getPose',
- 'Collider:setPose'
- }
- }
|