Document RigidBody2D/3D and particles' angular velocity units
This commit is contained in:
@@ -208,7 +208,7 @@
|
||||
</methods>
|
||||
<members>
|
||||
<member name="angular_velocity" type="float" setter="set_angular_velocity" getter="get_angular_velocity">
|
||||
The body's rotational velocity.
|
||||
The body's rotational velocity in [i]radians[/i] per second.
|
||||
</member>
|
||||
<member name="center_of_mass" type="Vector2" setter="" getter="get_center_of_mass">
|
||||
The body's center of mass position relative to the body's center in the global coordinate system.
|
||||
@@ -223,7 +223,7 @@
|
||||
The inverse of the mass of the body.
|
||||
</member>
|
||||
<member name="linear_velocity" type="Vector2" setter="set_linear_velocity" getter="get_linear_velocity">
|
||||
The body's linear velocity.
|
||||
The body's linear velocity in pixels per second.
|
||||
</member>
|
||||
<member name="sleeping" type="bool" setter="set_sleep_state" getter="is_sleeping">
|
||||
If [code]true[/code], this body is currently sleeping (not active).
|
||||
|
||||
Reference in New Issue
Block a user