Jump to content

[SOLVED] Simple object floating in ocean waves


Recommended Posts

I would like to create a simple cube properly floating in ocean waves. is this possible in unigine? the physical water object does not allow for this. In the documentation and on youtube there is a buoy floating in the ocean and a ship, yet it is not explained how to accomplish this. 

thank you!

Link to comment

Hi, rtron2!

Have you checked our demos and samples? We have plenty of examples, they may be helpful for your purpose, e.g. CPP Samples Water Global / C# Component Samples Global Water.

You can access demo source code or see the way it created in editor by copying it as a project - instructions are available at the link. Be sure to check out the other samples, you can find a lot of useful stuff for your projects there.

Another set of samples can be found in data/samples/physics folder of your current SDK location (water_0, water_1 etc.). 

Thanks!

 

Link to comment
  • bmyagkov changed the title to [SOLVED] Simple object floating in ocean waves
×
×
  • Create New...