Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by madclouds · Sep 03, 2016 at 02:29 PM · 2dmeshprocedural meshprocedural animation

[Help Request] 2D Wave Generation & Animation

I'm working on a 2D surfing game and could use some suggestions on creating a dynamically generated and animated wave.

Here's my concept art: alt text

I'm going to break the wave into two main parts. The back of the wave (what the surfer will contact) and the front of the wave (what makes the tube).

I've created the back of the wave by manually position vertices of a mesh.
Here's a screenshot (dark blue is the wave): alt text

I plan to adjust the position of the vertices in the Update() function. I'll pick a vertex somewhere along the top edge to start the wave "crashing". Form this vertex, I'll create another mesh that will represent the front part of the wave that will continue to get larger and fall towards the ground.

I'm a little worried about the math to accomplish this so that it looks organic, and also allows dynamic generation (smaller/larger waves, bigger barrel, etc).

I wanted to check with the community incase anyone had some creative ideas on how you would approach it? I'm willing to purchase assets from the asset store if they'll help.

concept-level-framing.png (348.8 kB)
wave.png (28.7 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by diegopandrade · Sep 29, 2016 at 01:21 PM

Maybe you could get in touch with these guys to get some info

https://itunes.apple.com/br/app/go-surf-surfe-a-onda-infinita/id1088941177?mt=8

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by babayatasovich · Feb 03, 2020 at 07:31 PM

You just need to make the animation of the wave cycle in a static state and seamless. Here's how to do it in TVPaint: http://2danimator.ru/showpost.php?p=92509&postcount=121,You just need to make the animation of the wave cycle in a static state and seamless. Here's how to do it in TVPaint: http://2danimator.ru/showpost.php?p=92509&postcount=121

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image babayatasovich · Feb 03, 2020 at 08:52 AM 0
Share

I went the wrong way, like you - tried to generate the WAY of the wave. Then he solved the problem by expanding the wave along the entire length from peak to repeated peak. He outlined the movements of the masses of water and foam. The result was a seamless and static wave. Now it can be removed in a static state during coastal motion and in a dynamic state with a static coast.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

101 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How is a Mesh Built? 1 Answer

Sprites vs texturesless Meshes - more texture memory with meshes?? 0 Answers

Mesh wont render although there are no errors! 1 Answer

Mesh combining makes an incomplete mesh? 0 Answers

Find the volume of an object that is underneath a mesh 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges