[EXAMPLE] My Particle System (Added tracking of player position)

Hello. Here is an example of my star system. I have 3 layers moving at different speeds in an outwards cone. I’ve added random start speeds. I’ve added a script that moves the emitters opposite of the player’s x position.

		Vector3 newPos = new Vector3 (-player.transform.position.x * multiplier, transform.position.y, transform.position.z);
	transform.position = newPos;

The multipliers for the 3 emitters are .05, .02 and .01 respectively.

Thanks for watching!


That is a very nice touch, it’s subtle and at the same time, expected - very good :slight_smile:

1 Like

Privacy & Terms