Table of Contents

Class PuddlecraftRipples

Namespace
DFA.Puddlecraft

Pushes ripples into standing water: a splash at a point, or a wake along a path. Every camera's ripple simulation picks them up, except on the Low quality tier, which has none. Ripples outside standing water have no visible effect.

public static class PuddlecraftRipples
Inheritance
PuddlecraftRipples

Methods

AddTrail(Vector3, Vector3, float, float)

A wake along a path, such as a foot or tyre moving through water this frame. Radius in metres (at least 0.005); strength 1 is a footstep.

public static void AddTrail(Vector3 from, Vector3 to, float radius, float strength)

Parameters

from Vector3
to Vector3
radius float
strength float

Splash(Vector3, float, float)

A splash: a ring spreading from a point. Radius in metres (at least 0.005); strength 1 is a footstep.

public static void Splash(Vector3 position, float radius = 0.08, float strength = 1)

Parameters

position Vector3
radius float
strength float