Don't generate empty doc sections and reduce code duplication

This commit is contained in:
Aaron Franke 2021-09-20 19:37:32 -05:00
parent 2d1699ef82
commit d54f2ad7ca
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
647 changed files with 76 additions and 2011 deletions

View file

@ -11,8 +11,6 @@
<tutorials>
<link title="3D Truck Town Demo">https://godotengine.org/asset-library/asset/524</link>
</tutorials>
<methods>
</methods>
<members>
<member name="brake" type="float" setter="set_brake" getter="get_brake" default="0.0">
Slows down the vehicle by applying a braking force. The vehicle is only slowed down if the wheels are in contact with a surface. The force you need to apply to adequately slow down your vehicle depends on the [member RigidDynamicBody3D.mass] of the vehicle. For a vehicle with a mass set to 1000, try a value in the 25 - 30 range for hard braking.
@ -27,6 +25,4 @@
The steering angle for the vehicle. Setting this to a non-zero value will result in the vehicle turning when it's moving. Wheels that have [member VehicleWheel3D.use_as_steering] set to [code]true[/code] will automatically be rotated.
</member>
</members>
<constants>
</constants>
</class>