- Home /
This question was
closed Apr 08, 2013 at 10:00 AM by
Graham-Dunnett for the following reason:
Question is off-topic or not relevant
How do create a grenade launches?
Heres the script :
var Grenade : Transform;
if (Input.GetMouseButtonDown(1))
{
var launch = Instantiate (Grenade, gameObject.Find("GrenadeSpawn").transform.position.axis.y, Quaternion.identity);
bulletfire.rigidbody.AddForce(transform.forward * 1000);
}
The thing is how do i make the grenade launchs from position Y to Z ?
][1]][1]][1]][1]
Still dont get it?
means : When the player fires the grenade launches from player to plane.
Comment
There's not enough information here to be able to help. Try re-asking your question with more details.