diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-09 08:51:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-09 08:51:26 +0200 |
commit | 0c1394e1a3934521e5788a934b13f4f025430b3a (patch) | |
tree | 27846618a24be46496f2e4f5e93918620d783778 /doc/classes/RigidBody.xml | |
parent | 24c462b974ed45be85a7026960482dfcc7b54010 (diff) | |
parent | 542489a86696cba222711a20e31704a62d4b8fed (diff) |
Merge pull request #30125 from akien-mga/docdata-expose-parametric-setget
DocData: Re-expose parametric setters and getters
Diffstat (limited to 'doc/classes/RigidBody.xml')
-rw-r--r-- | doc/classes/RigidBody.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/classes/RigidBody.xml b/doc/classes/RigidBody.xml index a705789413..07eed6bb34 100644 --- a/doc/classes/RigidBody.xml +++ b/doc/classes/RigidBody.xml @@ -82,6 +82,14 @@ Applies a torque impulse which will be affected by the body mass and shape. This will rotate the body around the [code]impulse[/code] vector passed. </description> </method> + <method name="get_axis_lock" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="axis" type="int" enum="PhysicsServer.BodyAxis"> + </argument> + <description> + </description> + </method> <method name="get_colliding_bodies" qualifiers="const"> <return type="Array"> </return> @@ -90,6 +98,16 @@ [b]Note:[/b] The result of this test is not immediate after moving objects. For performance, list of collisions is updated once per frame and before the physics step. Consider using signals instead. </description> </method> + <method name="set_axis_lock"> + <return type="void"> + </return> + <argument index="0" name="axis" type="int" enum="PhysicsServer.BodyAxis"> + </argument> + <argument index="1" name="lock" type="bool"> + </argument> + <description> + </description> + </method> <method name="set_axis_velocity"> <return type="void"> </return> |