Hi
I want to make this cylinder as an elevator. when i press a key like ( h ). the elevator move up and should take my character with it. but my character still down. how to make a script to make my character move up with the elevator.
this is a short sceipt to make the elevator move up when i press a key such us ( h ) in ths case.
function Update ()
{
if(Input.GetKeyDown(“h”))
animation.Play(“Obs 1”);
}
Obs 1 is the name of the animation attatched to the elevator.
how can i do the rest…[/url]