Hello!
I'm very new to Wwise and Unity (and I'm not super familiar with C++ although I know Java) and I'm struggling with one specific thing in my first project.
I'm making sound for a Unity project where I have a water gun that shoots a liquid around.
The way the code is written I have a game object called Paint Manager that handles the task of painting the textures in the environment where the particles shot by the water gun collide with floor/walls.
Right now what I did (simplifying) is posting an event every time the method that was already in place tells the program to paint the surface.
I also set up a simple code to detect how far from the listener the collision happens. (using a RTPC).
However this obviously doesn't take actual position into account, so I don't have proper panning/cone attenuation for each collision happening.
The result is not bad still, but it lacks depth and I feel my solution is a bit spaghetti.
So let's say I have:
- A Vector3 position of the collision, let's call it Vector3 position;
- An event to call, let's call it AK.Wwise.Event Paint;
How would I tell wwise to place every instance of the event in the corresponding position?
Also what components would I have to add to the Paint Manager in order to have everything work properly?
If it's not possible to set up what I'm trying to do this way, what would be the most simple change I can make to achieve the result I want? (remaking or drastically altering the shooting system is not an option for me)
I can provide the code I wrote or extra details if needed
Thank youuu