- Home /
Question by
Terra27 · May 30, 2016 at 07:37 AM ·
rotationparticlesystemlocation
Problem with particle system location and rotation,,
need help, i need to make particle system shoot forward player. But particle system always shoot behind the player, so how to make particle system always shoot in front of the player. this my script :
public void particle ()
{
GameObject spark = Resources.Load ("spark") as GameObject;
GameObject particle = Instantiate (spark) as GameObject;
particle.transform.position = transform.position;
particle.transform.rotation = transform.rotation;
Destroy (Fire, 5);
// if i can to configure the location/rotation of particle system, that more better
}
if i can to configure the location/rotation of particle system, that more better
Comment