mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 21:52:51 +00:00
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
@ -23,7 +23,8 @@
|
||||
</member>
|
||||
<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">
|
||||
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>
|
||||
</members>
|
||||
</class>
|
||||
|
Loading…
Reference in New Issue
Block a user