I am trying to instantiate a flamethrower that fires in front of my character, however no matter which way I turn, it fires toward the front of the stage.
if(Input.GetButtonDown("Shoot2") && Time.time > startfire)
{
startfire = Time.time + 3;
var OffsetCenter = transform.position + center;
var instancesphere = Instantiate(flamethrower, OffsetCenter, transform.rotation);
instancesphere.rigidbody.AddForce(transform.forward * flameforce);
}
Please help correct this directional issue.