How to stop wave animation in ocean?

(3 posts) (2 voices)
  • Started 10 months ago by sunder3dvia
  • Latest reply from hiddentux

Tags:

No tags yet.

  1. sunder3dvia

    veteran
    Joined: May '13
    Posts: 276

    Hi,

    I am using ocean from the library. Its really looking nice, but I want to control the wave animation. When I click on some button or key it should activated. How can I handle this ?

    Awaiting for your reply!

    Posted 10 months ago #
  2. sunder3dvia

    veteran
    Joined: May '13
    Posts: 276

    Hi,

    I have found how to stop that simulation

    vkWaterPtr water;
    water.WaveSimulation = 0;
    water.SetBumpSpeed(0);

    I dont know whether its a correct method to do this. If anything else please update me.
    Thanks.

    Posted 10 months ago #
  3. hiddentux

    3D Experience Guru
    Joined: Feb '09
    Posts: 378

    Hi,

    I guess you could use water.SetActivity(false).

    Posted 10 months ago #

Reply

You must log in to post.