Skip to content

11. Splash, Water, Wet

DYLO Gaming edited this page Jul 26, 2024 · 5 revisions

The Splash struct allows for the ability to toggle the splash which uses the event tick to spawn wading, splash particles at the point of intersection of the owner and a water layer

⚠ This entire system is going to be improved on. This was what I developed after first experimenting with it ⚠

A delay has been added after the tick to reduce the times the logic is ran

By default, the trace starts from the actor’s root, which varies from actor to actor

So, you’ll want to use the traces to adjust the traces to fit the top and bottom of the actor. Each of the wheels below have different trace offsets

image
image
image
There is a new “Cheap Wet” system I’ve added, which allows for a hackey ‘wet’ decal to spawn at the point of intersection, making it look like the actor is wet

It currently works best on the player, and because it uses a decal, it will spawn the dark layer on all neighboring actors. If you’re trying to use it, you’ll want to disable other actors’ ability to receive decals
image

Wading logic has been added which will spawn wading, splash, effects at the intersection point of the water and the actor

⚠ Wading runs on event tick, but has a delay added to help with performance ⚠

This will be improved on in future updates
image image image
Clone this wiki locally