Download

Edit particle material from blueprint

Hi guys,

I have what I thought would be a simple problem but it’s driving me nuts.

I have a particle system component inside a blueprint.
The particle system has a material applied and that material has 2 parameters in it controlling start and end colours colors.
I’m using the particles color over life module to drive a lerp nodes alpha to go between the 2 colours.
I can not for the life of me seem to access the particle systems material in order to set those 2 colours from the blueprint.

Any ideas on how to do this would be so appreciated.

Thanks

D

@Davestation Presumably the PS is a child? Then you need

PS → Getchildactor ( I think it’s called ) → Cast to < your particle system > → as that PS → setMaterialScalarParameters…

Sorry, just realized it’s probably not a child… :confused: casting might have something to do with the answer tho…