Sorry not sure where to post this because there are no forum threads for Particle System.
I have a particle system, a beam and it triggers on my command. What I need it to do is on ParticleSystem.Play(); to be able to put it so it starts at x, y,z and points towards x,y,z.
Any clues pls. Have not been able to find a tutorial on this.
Without much information, the solution seems pretty clear; attach some game object transform edits.
ParticleSystem.Play();
gameObject.transform.position = new Vector3([your x], [your y], [your z]);
gameObject.transform.eulerAngles = new Vector3([your x], [your y], [your z]);
(Or use a Quaternion and edit transform.rotation instead of transform.eulerAngles if you have the experience with Quaternions.)
I’m also assuming that you already know the desired x, y, and z values, and that these values don’t have to change over time. But, this is just an assumption based on the info you’ve given, which makes it sound like it has a pretty simple solution. If this doesn’t cut it, please follow up with more information so I or others can help out a bit more!