Dear game developers,
I am new to unity 3d. im struggling with character animations. my need is, i have a 3d model with multiple animations like walk, run, jump, punch, crouch, pulling a handle(for door) like that. i made those things in 3ds max and exported to Unity as .FBX file. I seperated the animations. i used default third person controller script which is available in Unity. since it has only the functions like walk, idle, run and jump. i need to add “punch” animation when i press “Fire1”.
Another thing is, i have a animation for pulling the doors. it should only to be work when the character is near the door. i.e when the player moved to the door and presses a key (e or something) the animation “pulling door” should be run. if the player is somewhere else other than door, the function should not be work. how can i do this?
Does anyone have ideas. Waiting for ur replies