Merge pull request #11105 from NathanWarden/static_body_docs

Updated documentation for StaticBody.
This commit is contained in:
Poommetee Ketson 2017-09-12 05:56:20 +07:00 committed by GitHub
commit d891a91ef1
1 changed files with 4 additions and 0 deletions

View File

@ -48030,12 +48030,16 @@
</methods>
<members>
<member name="bounce" type="float" setter="set_bounce" getter="get_bounce" brief="">
The body bounciness.
</member>
<member name="constant_angular_velocity" type="Vector3" setter="set_constant_angular_velocity" getter="get_constant_angular_velocity" brief="">
The constant angular velocity for the body. This does not rotate the body, but affects other bodies that touch it, as if it was in a state of rotation.
</member>
<member name="constant_linear_velocity" type="Vector3" setter="set_constant_linear_velocity" getter="get_constant_linear_velocity" brief="">
The constant linear velocity for the body. This does not move the body, but affects other bodies that touch it, as if it was in a state of movement.
</member>
<member name="friction" type="float" setter="set_friction" getter="get_friction" brief="">
The body friction, from 0 (frictionless) to 1 (full friction).
</member>
</members>
<constants>