Author Topic: Placing Water Surface on Irregular Axis  (Read 2018 times)

allishep

  • Newbie
  • *
  • Posts: 1
    • View Profile
Placing Water Surface on Irregular Axis
« on: August 21, 2014, 08:41:24 AM »
I just purchased this library and went through the basic setup in my project, but I am having a fundamental problem. The original architects of my project set up our terrain (island surrounded by ocean) in the XY plane instead of the XZ plane. Is it possible to rotate the entire water module to adjust for this change in axis?

Thanks!

Chingwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 1604
    • View Profile
    • Tanuki Digital
Re: Placing Water Surface on Irregular Axis
« Reply #1 on: August 21, 2014, 10:19:34 AM »
Hi allishep,

Thanks for your purchase!  Suimono assumes that the Y-axis is equal to "up"... this is used for wave rendering as well as interaction detection, so rotating the suimono surface object will break some of it's functionality.  Of course Unity in general also assumes that the Y-axis is "up", so I'm not exactly sure what you mean by your terrain being in the xz plane... can you give me a screenshot or more detailed description of what's happening?

You can also email me directly at konnichiwa [at] tanuki digital.com if it's more convenient.

-Justin