Question by
EliteHedgehog56 · May 29, 2016 at 02:51 AM ·
idle animations
idle breathing motion
hey guy I am making a survival horror FPS and I'm wondering how to make my character slowly sway up and down like he is breathing when idle.
JavaScript will do
thanks
Comment
ok ok how do I doo that I've only been unity for a few day
I don't do javascript but can I ask how your FP appears in the game? Do you have a full model or just arms or just a camera.
If the later 2 you probably just need to rotate the camera a bit and play a sound of someone gasping for air. Take a deep breath and as your lungs inflate I bet your head tilts back and then forward as you exhale.
You'll need to look up transform.rotate for this.
If the former you could look for an idle animation on the asset store and have your camera attach to the model.