Hey,
I created a snowstorm particle effect.Then i added it to a blueprint and i added a sphere collision around the particle to check for collision.I have set the sphere collision to overlap with everything and it works the first time i spawn it but on the second go i get stuck inside the effect which i cast. Can anyone tell me what can i do to fix this?
Here is my script.Ow i’m sorry i just want the character to pass threw the particle effect which i made.And it works when i cast it the first time but if i spam to spawn more i get stuck inside the effect. Does that make it any more clear of what i am trying to achieve? Here are is the script i use. Ow and sorry for this spagheti monster down there :
what does your script look like? its a bit difficult to know what you mean with the way you explained it and will probably be easier to understand and diagnose if we can see the script.
clear as mud haha. your script doesnt look too bad though im not sure on the timeline interaction without testing it myself. i would however add in some kind of flow control so you dont have the script affecting the player more than once at any given moment. for example if the player walks in and out of the overlap area quickly it will begin messing up the script since the timeline will already be playing once and the delay will activate so you could still be in the middle of the overlap area and have the movement speed reset. so i would add in something like a “do once” node just after the casts so you can control how often the events are called.
now im not really sure on how your implementing this since you mentioned spawning them in and spamming the spawn, that makes me think you are trying to make this an on demand kind of effect as opposed to something akin to a landscape hazard.
hehehe well i am still learning so i’ve been a bit lazy in creating functions to make everything cleaner :D.Sorry but i don’t know what you mean by flow control haven’t used it so far so i’ll google what that actually is.But thanks for helping with my next issue :).Was using the timeline to get an increasing value over time. Well the snowstorm effect is sorta like a cloud around a player and the player is in the middle of it. I’m was thinking of using it as a blind spell.I think i’ve fixed the issue i had with the collision where i was getting stopped by the particle effect. I made a mistake of adding an actor collision inside the particle effect. Edited: Never mind still having this issue where i get stuck by the effect for no reason well none that i know
Do you mean the snowflakes are getting stuck to each other and stopping movement in mid-air?
No i think the smoke or some other part is stopping the character controller from moving