summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorsnailrhymer <61291296+snailrhymer@users.noreply.github.com>2022-07-16 18:06:01 +0100
committerGitHub <noreply@github.com>2022-07-16 18:06:01 +0100
commitc051c84385c296eb284579e93b6699446d380a8e (patch)
treec15917d3cd5f0f28ca70b27370340fb6c3a65c40 /doc/classes
parent5a6b13b8bb128a0e10cccab8f212b1ed15cea425 (diff)
Fix typo in VehicleBody3D.xml
Diffstat (limited to 'doc/classes')
-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 330a405d5f..08309a8ecc 100644
--- a/doc/classes/VehicleBody3D.xml
+++ b/doc/classes/VehicleBody3D.xml
@@ -16,7 +16,7 @@
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.
</member>
<member name="engine_force" type="float" setter="set_engine_force" getter="get_engine_force" default="0.0">
- Accelerates the vehicle by applying an engine force. The vehicle is only speed up if the wheels that have [member VehicleWheel3D.use_as_traction] set to [code]true[/code] and are in contact with a surface. The [member RigidDynamicBody3D.mass] of the vehicle has an effect on the acceleration of the vehicle. For a vehicle with a mass set to 1000, try a value in the 25 - 50 range for acceleration.
+ Accelerates the vehicle by applying an engine force. The vehicle is only sped up if the wheels that have [member VehicleWheel3D.use_as_traction] set to [code]true[/code] and are in contact with a surface. The [member RigidDynamicBody3D.mass] of the vehicle has an effect on the acceleration of the vehicle. For a vehicle with a mass set to 1000, try a value in the 25 - 50 range for acceleration.
[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>