Water animation not triggering correctly

The water animation only plays on the first water block of the pool, regardless of the block I land on. Anyone know how to help?

3 Likes

Make sure the animation is set to loop, and that it has a higher priority than other animations the water might be playing

1 Like

I regret to inform you, that did not work. It just infinitely looped it thats it, nothing was fixed :frowning:

do you have 2 different water objects? make sure the code is in all of them

Yes I have quite a few, if you’d look at my game you can see how many there are, every one has the code in it

1 Like

you should only need one water block, just place that object throughout the level. keep the one that has the code to play the animation

Hi,
Not the most efficient way, but you can use
an always block - raycastblock (cast input) - startanimation block loop
Inside of the raycast block select:
Raycast type : player
About 270 angle (check in the editor you will see a yellow line make it look upwards)
Length about 30 ( the same yellow line you can see it in the background)

I tested it and it worked

1 Like