Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
0
Question by mkirk8 · Feb 21, 2014 at 06:40 AM · emissionripple

Sound wave emission?

In my current game I would like to create something similar to a sound wave. The idea is simple, a wave is created around a point and slowly increases in time, until, after a set time, it ceases to exist. However it gets more complex when you consider the sound wave ricocheting of other objects in the world, warping the shape from a general circle to a complex shape. This would be much like a ripple, only existing within the world. Furthermore this will likely be a 2D game, thus far all examples I have seen in this process have been done using height maps to distort textures in 3D.

Much of the basic behavior is similar to that if a particle emitter, only I am looking for a wave instead of simply particles. My question is how this might be done? I am still pretty new to unity, so I am unsure of the best way to tackle this task, and all my research seems to come up showing the use of height-maps to distort a texture. I don't believe this will work as the wave needs to be its own colour in my game, distinct from its environment. Additionally I am not sure how this method would work detecting environmental collisions in a 2D environment.

Any help or suggestions would be greatly appreciated.

Comment
Add comment · Show 3
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 Benproductions1 · Feb 21, 2014 at 12:49 PM 0
Share

What are you planning to accomplish with this? Emulating wave physics is very complex and computationally expensive. Unless it is a key part of your application I would suggest you make due without it.
These sort of emulations are also very time dependant, so you won't be able to have a very fast speed of sound.
I suggest you look into implementations of water ripples, since it's essentially the same concept.

avatar image mkirk8 · Feb 22, 2014 at 06:34 AM 0
Share

well it is a core concept in the game. The idea is that you see using echolocation (a la daredevil) So the idea was to project the wave out into the world and see the way it responds do get a concept of the environment.

Theoretically a similar effect could be achieved with emitting a lot of particles in a circular motion...but I was curious as to the wave, as in my opinion it would look much crisper.

Speed was not a main factor, but I would say the concept is the key feature of the game. As for the ripples, that is mostly what I have looked into and most of what I have found uses height-maps.

So what I am hearing is I need to decide if I am willing to add a complex and expensive computation for the sake of crispness.

avatar image Benproductions1 · Feb 22, 2014 at 10:47 AM 0
Share

Simply think of the "height-map" as the amplitude of the wave (which is what it actually is). A problem you might encounter is that you'll need too many physics steps for echolocation if you want it to happen quickly (you might have to wait 2 seconds + for a single response).

I believe you might want to look into faking echolocation ins$$anonymous$$d of perfor$$anonymous$$g huge physics calculations, but thats up to you.

0 Replies

· Add your reply
  • Sort: 

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

20 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

Related Questions

An object with emmissive material or area light? 0 Answers

Setting emission color programatically 2 Answers

Scaling ParticleSystem Emission rate to mesh size 1 Answer

Can't get DisableKeyword("_EMISSION") to work 0 Answers

Emission colour only changes when RGB at 0 1 Answer


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