summaryrefslogtreecommitdiffstats
path: root/doc/classes/VehicleBody3D.xml
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2021-12-02 22:38:49 +0300
committerYuri Sizov <yuris@humnom.net>2021-12-03 17:47:22 +0300
commitb3992f7e6edb76a1d7e757efcab79a50425972f7 (patch)
treeed4c7943070cca3db08cd3be49b818fa35ead2f5 /doc/classes/VehicleBody3D.xml
parentaaabc0abcc139a8212c400756016596281ef09c5 (diff)
downloadredot-engine-b3992f7e6edb76a1d7e757efcab79a50425972f7.tar.gz
Make overridden properties link to parent definition
Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
Diffstat (limited to 'doc/classes/VehicleBody3D.xml')
-rw-r--r--doc/classes/VehicleBody3D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/VehicleBody3D.xml b/doc/classes/VehicleBody3D.xml
index 9315f6e6ad..9960eeedc2 100644
--- a/doc/classes/VehicleBody3D.xml
+++ b/doc/classes/VehicleBody3D.xml
@@ -20,7 +20,7 @@
[b]Note:[/b] The simulation does not take the effect of gears into account, you will need to add logic for this if you wish to simulate gears.
A negative value will result in the vehicle reversing.
</member>
- <member name="mass" type="float" setter="set_mass" getter="get_mass" override="true" default="40.0" />
+ <member name="mass" type="float" setter="set_mass" getter="get_mass" overrides="RigidDynamicBody3D" default="40.0" />
<member name="steering" type="float" setter="set_steering" getter="get_steering" default="0.0">
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>