- Home /
transform bullitprefab errors
im using bullitprefabs and using AddForce transform, if i use EulerAngles the bullits disappear as soon as they spawn... others like rotation ect say that * can't be used (which i use to control the force the bullets emit) doesn't go with rotation and the other stuff i use. forward isn't working for me because if i angle the turret up or to the side it fires the way the body is pointing (making a tank game) here is the part of the script with the forward one.
var bullit = Instantiate(bullitPrefab,
GameObject.Find("spawn").transform.position,
Quaternion.identity);
bullit.rigidbody.AddForce(transform.forward * 10000);
any help or tips would be most appreciated.... thank u :P
Your answer
Follow this Question
Related Questions
Why Local Rotation Faster than World Rotation (Degrees/Second) 1 Answer
Rotation Jumping values (0 to 180) 1 Answer
Problem in Euler angles 2 Answers
GameObject Rotation is always postive 0 Answers
Simple object rotation & LookAt 1 Answer