- Home /
Weapon switching
Hi all. I was wondering how could I make my person switch weapons bend down and go prone with the least amount of animations possible but still having it look nice from a 3rd person angle? Would I need a run, shoot, reload, aim down sights (or would that be done with a script?) fir standing and prone? Thank you for you support and taking the time to read this question. Hope everyone has a great day!
Answer by DynamicPrgm · Mar 14, 2013 at 02:47 PM
In the third person, you must have an animation for it to remotely look acceptable. If you are by chance using a capsule, you could use this to crouch:
function Update(){
if(Input.GetButtonDown("Crouch")){
transform.localScale.y = 0.5;
}
else
{
transform.localScale.y = 1.0;
}
}
Thank you but I have another question (sorry but I will use the script for sure) would I have to have a crouch animation for every weapon or could I separate the arms, torso and legs and just have 1 crouch animation for each? And use that for every weapon?
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
How do I create a raycast from the end of my gun to go wherever i have my gun pointed 2 Answers
Rays for movement?(C#) 0 Answers
Third Person Multi-player Swapping Controls 0 Answers
Player lives script 1 Answer