Hi everyone. I have a robot that uses a shield to block fireballs. But when i press the space button, it faces the same way everytime, so i end up with a sideways shield. I have attached the code as well. Any help is appreciated. Thanks, -Alias
function Update ()
{
if(Input.GetButtonDown("Jump"))
{
var bullit = Instantiate(bullitPrefab, transform.Find("Spawnpoint").transform.position, Quaternion.identity); //transform.position
bullit.tag = "wormprojectile";
}
}