| 12345678910111213141516171819202122232425262728293031323334 |
- return {
- summary = 'Get the position of the Collider.',
- description = 'Returns the position 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.'
- }
- },
- variants = {
- {
- arguments = {},
- returns = { 'x', 'y', 'z' }
- }
- },
- related = {
- 'Collider:applyForce',
- 'Collider:getLinearVelocity',
- 'Collider:setLinearVelocity',
- 'Collider:getOrientation',
- 'Collider:setOrientation',
- 'Collider:getPose',
- 'Collider:setPose'
- }
- }
|