Hello, Im working on my first unity project and I have a couple of questions. (1) how dou you attatch 2 objects together? iv heard of parent/ child, but how do I do it? is this the best thing to do with rain? (2) also, how do I add a step sound to my first person controller? thanks in advance
Try to read or watch tutorials.
Here is one from Tornado Twins: http://www.youtube.com/user/TornadoTwins#p/c/11F87EB39F84E292/0/5-X-Ebh1kYA
there are more resources at Unity3d.com.
I didnt really find what I was needing there, but I appreciate the help
dafishanator, follow the tutorials!.. the 2nd or 3rd talk about it!
The aforementioned tutorials probably cover this, but to make one game object the child of another, simply drag one onto the other in the ‘Hierarchy’ pane. (It can also be done via scripting.)
For footsteps, search the forums for ‘footsteps’, as this is discussed frequently.
In brief though, the simplest solution is probably a looped sound that is turned on when the linear speed of the game object is over some threshold, and turned off when it’s below that threshold.
A more sophisticated implementation will typically play individual ‘footstep’ sounds with random volume and pitch variation, and/or different footstep sounds based on speed, surface that you’re walking on, etc.
thank you jesse, this is exactly what I needed