Dynamic Water Physics 2 Documentation
Docs ยป DWP2:ShipController:Rudder

Rudder inspector.

Rudder is used for steering the ship.

  • Each rudder is a WaterObject and controls the ship through regular interaction with water.
  • Invisible rudder can be used in case the visual one is too small. To achieve this parent a very thin Cube to the rudder, use WaterObjectWizard to set it up, resize it to the desirable scale and finally disable MeshFilter. This will result in a rudder that interacts with water but is not visible.
Fields
  • RudderTransform - the transform that will be rotated.
  • MaxAngle - maximum angle of rudder rotation to each side (e.g. +/- 30).
  • RotationSpeed - rotation speed in deg/s for the rudder.
  • LocalRotationAxis - the local axis around which the RudderTransform will be rotated.
Setup
  1. Add a rudder to the ship if it does not already have one. This can be a primitive Cube scaled to a thin shape.
  2. Assign the rudder transform (in this example the scaled cube) to the Rudder Transfrom field.
  3. Add WaterObject component to the rudder so it too can interact with water.
Previous Next

Dynamic Water Physics 2 Documentation

Table of Contents

  • About
  • Quick Start
  • WaterObject
  • WaterParticleSystem
  • Input
  • AdvancedShipController
  • SailController
  • Submarine
  • Supported Water Assets
  • NWH Common Scripts
  • Helper Scripts
  • Demos
  • Upgrade Notes
  • Changelog
  • Support