photo

How to make static mesh interactable with water?

Recommended Posts

I am working on a surfing game and want the surfing deck to glide on water surface. Is it possible with unigine? How to set up such behavior? Also I am interested how can I make water waves affect static meshes. I enabled physics on them but nothing happened

Share this post


Link to post

Hello,

It can be done with WaterGlobal interface. I'd expect arcade-like behavior achievable with getHeight and getNormal methods. You can calculate surf position according to 3 (or more points) taken from the water surface.

Thanks.

Share this post


Link to post