Navigation
BlueprintAPI > BlueprintAPI/Utilities > BlueprintAPI/Utilities/Struct
Adds a node that create a 'Swimming Settings' from its members
Inputs
| Type | Name | Description |
|---|---|---|
| real | Max Speed Up | Max speed when moving up in water |
| real | Max Speed Down | Max speed when moving down in water |
| real | Water Velocity Depth For Max | At or above this depth, use max velocity. Interps down to WaterVelocityMinMultiplier at wading depth (where player can start swimming) |
| real | Water Velocity Min Multiplier | Min velocity multiplier applied when depth equals min swimming depth (where they transition from wading to swimming). Interps between this and 1.0 at WaterVelocityDepthForMax. |
| real | Max Water Force | Max water force, after WaterVelocity (WaterForceMultiplier WaterForceSecondMultiplier). |
| real | Water Force Multiplier | Multiplier to water force acceleration in direction of current. |
| real | Water Force Second Multiplier | Multiplier applied on the top of WaterForceMultiplier, to water force acceleration in direction of current. Used only for inherited objects. |
| real | Bobbing Max Force | Bobbing: Max force |
| real | Bobbing Ideal Depth Tolerance | Bobbing: Slow down strongly when within this tolerance of the ideal immersion depth. Normally we apply drag only when going away from the ideal depth, this allows some slowdown when approaching it. |
| real | Bobbing Friction Down | Bobbing: friction/drag opposed to downward velocity, linear multiplier per second |
| real | Bobbing Exp Drag Down | Bobbing: friction/drag opposed to downward velocity, squared with velocity per second. Ramps up faster with higher speeds, less effect at low speeds. |
| real | Bobbing Friction Down Submerged | Bobbing: friction/drag opposed to downward velocity, linear multiplier per second. Only used when fully submerged (replaces other value). |
| real | Bobbing Exp Drag Down Submerged | Bobbing: friction/drag opposed to upward velocity, squared with velocity per second. Ramps up faster with higher speeds, less effect at low speeds. |
| real | Bobbing Friction Up | Bobbing: friction/drag opposed to upward velocity, linear multiplier per second |
| real | Bobbing Exp Drag Up | Bobbing: friction/drag opposed to upward velocity, squared with velocity per second. Ramps up faster with higher speeds, less effect at low speeds. |
| real | Bobbing Friction Multiplier | Bobbing: friction multiplier, multiplies the fluid friction value. |
| real | Bobbing Exp Drag Multiplier | Bobbing: multiplier for the exponential drag. |
Outputs
| Type | Name | Description |
|---|---|---|
| struct | Swimming Settings |