Swimming with lumberyard

I don’t find many posts about it and therefore I would like to ask you who are more experienced. I would like to know if in lumberyard it is possible to understand when the character enters the water and make him float with a swimming animation? The animation on the water not below.

Thansk!

There are many ways you could do this, the water is its own mesh so you could write code to see when you enter the water, otherwise water is flat so just add a trigger area to it so when you enter the trigger area → swimming animation. One more way is using a particle system to turn on and off when they are in water, and use that for running the animation. Those are just three off the top of my head.

4 Likes