AddForce to the Left?

For some reason my GameObject keeps getting knocked to the right instead of to the front and thats why I wanted to know if I could add force to the left? I am using this line:

Hit.rigidbody.AddForceAtPosition(transform.forward * Force , Hit.point);

player.AddForce( Vector3.left * speed );

AddForceAtPosition adds rotation, maybe that’s why it seems to go the wrong way. Either that or your models axes are misaligned.

Try AddRelativeForce

rigidbody.AddRelativeForce (-1, 0, 0); // 1 Unit left in local axes

Okay so this is what I did, I it seems like this just works out perfectly and is a simple solution :slight_smile:

if(Hit.collider.rigidbody)
		{
		//Make the object fly away by adding force to it
		Hit.rigidbody.AddForceAtPosition(Force * FirePoint.transform.forward, Hit.transform.position);
		//Check if it hit and Object
		Debug.Log("Added Force to Rigid Body");
		}

Just wanted to post this in case anyone else had a similar problem.