Hi I am making an fps and I need to 1. Get a humve and 2. I need to be able to walk up to it and drive it
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;
}
}
}
Check out this question.