Transform X position relative to rotation.

Looking for a simple solution to this. Right now I have a projectile that spawns at a direction based on what im facing, and I simply want to spawn a particle emitter relative to that projectiles position.

So say -1 x from the projectile. Well when its facing right that particle spawns fine, behind the projectile. But when its facing left that particle spawns to the left, in front of the projectile.

What would I use for something like this?

You need to make your particle a child of your projectile with :

myParticle.transform.parent = myProjectile.transform;

Then you can set up the local position :

myParticle.transform.localPosition = new Vector3(-1f,0f,0f);

Thanks, that worked great. I ended up just putting empty Spawn components into the prefab after you gave me that advice and that worked well too!