-
Notifications
You must be signed in to change notification settings - Fork 16
class_watercraftpropulsion
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 propulsion system to a HydroRigidBody
This can be used to add prop or jet drives, bow thrusters, or more to a HydroRigidBody-based watercraft. The propulsion system will only provide thrust when its origin is underwater.
- Vector3 direction
Default | Vector3(0, 0, 0) |
Setter | set_direction(value) |
Getter | get_direction() |
The direction that the propulsion system will push the watercraft.
- Vector3 origin
Default | Vector3(0, 0, 0) |
Setter | set_origin(value) |
Getter | get_origin() |
The location of the propulsion system.
- float value
Default | 0.0 |
Setter | set_value(value) |
Getter | get_value() |
The amount of thrust applied by the propulsion system.