Particles ( and tanks )

Started by Oz · one year ago · 7 replies · 428 views

Oz
Member
JoinedJul 2022 Posts18 Score100
Started to mess with the new particle system. I'm liking so far but I do miss a few features ( is it possible to spawn particle systems attached to existing individual particles? ). No textures yet, just blocking them out:
garry
Facepunch
JoinedApr 2021 Posts453 Score2,355
You want to spawn a particle system, but then have another particle system that spawns on each particle?
Oz
Member
JoinedJul 2022 Posts18 Score100
Yes, I want to spawn 2-4 particles 'arms' that fly in random directions, attached to it another particle system which spews out black smoke and sparks etc.  Something like this
Ideally they'd respect the velocity/direction of the parent etc.
garry
Facepunch
JoinedApr 2021 Posts453 Score2,355
I'd need to have a think about how best to achieve that. Whether it's a child particle effect, or you put in a prefab/gameobject to clone and do that with.
edited one year ago#5
LazySloth
Member
JoinedApr 2023 Posts9 Score480
Didn't dive too much in particle system yet, aren't there events on each particle's lifecycle?
or use this to spawn sub-emitters when needed:
	protected override void OnAfterStep( float delta )
	{
	}
Oz
Member
JoinedJul 2022 Posts18 Score100
@garry I think cloning a prefab sounds more versatile over just another child particle effect
delete
Deleted Post
delete
Deleted Post
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.