Hey
I am very new to scripting and i really bad at it, but i need a very simple script for my charater
The script shall only make me move my character forward and backwards and jump.
Anyone there can help me? I really need it!!!
Forward and back I can do, at least in C#.
Put this in the Update section. Also, this will bind W to forward and S to backward.
if(Input.GetKey(KeyCode.W))
{
this.transform.Translate(Vector3.forwardTime.deltaTimespeed);
}
if(Input.GetKey(KeyCode.S))
{
this.transform.Translate(Vector3.backTime.deltaTimespeed);
}
thanks so do i just need the jumping part.