Forráskód Böngészése

Merge pull request #11105 from NathanWarden/static_body_docs

Updated documentation for StaticBody.
Poommetee Ketson 8 éve
szülő
commit
d891a91ef1
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      doc/base/classes.xml

+ 4 - 0
doc/base/classes.xml

@@ -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>