Search Unity

Island Demo Waves

Discussion in 'Editor & General Support' started by SupaPuerco, Jun 12, 2008.

  1. SupaPuerco

    SupaPuerco

    Joined:
    Aug 17, 2005
    Posts:
    48
    How were the wave froth effects achieved on the island demo? It looks like a custom mesh, but their appears to be a script attached to it that looks like it might form it to any terrain. Is there a way to do this (attach the waves to any terrain?)
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,318
    Both, sort of. It's a custom mesh, but the script makes it conform to the terrain underneath. So you still have to make it in the shape you want, but you don't have to try to make every vertex exactly the right height, which would be a nightmare.

    --Eric
     
  3. SupaPuerco

    SupaPuerco

    Joined:
    Aug 17, 2005
    Posts:
    48
    Would there be a way to do this entirely with scripting?
     
  4. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,318
    Sure...anything you can do, you can do with scripting. The question is how hard would it be. ;)

    --Eric
     
  5. SupaPuerco

    SupaPuerco

    Joined:
    Aug 17, 2005
    Posts:
    48
     
unityunity