| 1234567891011121314151617181920212223242526272829303132 |
- return {
- summary = 'Set the Shape\'s orientation.',
- description = 'Set the orientation of the Shape relative to its Collider.',
- arguments = {
- {
- name = 'angle',
- type = 'number',
- description = 'The number of radians the Shape is rotated.'
- },
- {
- name = 'ax',
- type = 'number',
- description = 'The x component of the rotation axis.'
- },
- {
- name = 'ay',
- type = 'number',
- description = 'The y component of the rotation axis.'
- },
- {
- name = 'az',
- type = 'number',
- description = 'The z component of the rotation axis.'
- }
- },
- returns = {},
- notes = 'If the Shape isn\'t attached to a Collider, this will error.',
- related = {
- 'Shape:getPosition',
- 'Shape:setPosition'
- }
- }
|