- Home /
Answer by name111 · Oct 14, 2010 at 02:07 AM
to get in a humvee i can tell u part of it but not all.... u will need to play an animation u can go ahead and use this to play the animtion
var theAnimation : AnimationClip;
function OnTriggerStay () { if (Input.GetKeyDown("e")) { animation.Play(); //Other actions here if (audio) { audio.Play(); audio.loop = false; } } }
Your answer
![](https://koobas.hobune.stream/wayback/20220613075621im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
AddForce to parent based on child's rotation C# 1 Answer
transform code! 1 Answer
OnTriggerEnter not functioning 0 Answers
Weapon Switching Help 1 Answer
wheel collider performance problem 1 Answer