-
Notifications
You must be signed in to change notification settings - Fork 16
class_watercraftrudder
jonri edited this page Oct 28, 2023
·
7 revisions
This file is automatically generated. To make changes, please edit the corresponding xml file in the doc_classes/ folder instead.
Inherits:
Adds a steerable rudder to a HydroRigidBody.
This will generate a rudder of a given size and calculate the forces along with the rest of the hull. As with the rest of the hull, only the submerged portion of the rudder will function.
- float depth
Default | 1.0 |
Setter | set_depth(value) |
Getter | get_depth() |
The extent of the rudder below the origin.
- Vector3 direction
Default | Vector3(0, 0, 0) |
Setter | set_direction(value) |
Getter | get_direction() |
The direction the rudder will face. Change the direction to steer the rudder.
- float length
Default | 1.0 |
Setter | set_length(value) |
Getter | get_length() |
The length of the rudder in the specified direction.
- Vector3 origin
Default | Vector3(0, 0, 0) |
Setter | set_origin(value) |
Getter | get_origin() |
The location of the rudder.