Merge pull request #74009 from BastiaanOlij/fix_vehiclebody_steering
Steering on VehicleBody is in radians in code, degrees in UI, adjusted property tooltip to clear this up
This commit is contained in:
commit
dd54fefeff
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@
|
||||||
</member>
|
</member>
|
||||||
<member name="mass" type="float" setter="set_mass" getter="get_mass" overrides="RigidBody3D" default="40.0" />
|
<member name="mass" type="float" setter="set_mass" getter="get_mass" overrides="RigidBody3D" default="40.0" />
|
||||||
<member name="steering" type="float" setter="set_steering" getter="get_steering" default="0.0">
|
<member name="steering" type="float" setter="set_steering" getter="get_steering" default="0.0">
|
||||||
The steering angle for the vehicle, in radians. 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.
|
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.
|
||||||
|
[b]Note:[/b] This property is edited in the inspector in degrees. In code the property is set in radians.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
</class>
|
</class>
|
||||||
|
|
Loading…
Reference in a new issue