Destructible Mesh Not Working On Respawn + Potential Bug
Alright so I'm trying to make a destructible mesh, shatter and fall (i've got other things going on as you can probably guess like lights/simulate physics but I have no issue with these).
I couldn't respawn the player before this area because the platforms wouldn't return. After some digging around online I found that probably the better way to do it was to call upon it from a BP via a Spawn Actor and selecting my BP from the class drop down.
I've attempted this to no avail.
What happens is that my player respawns as expected and seemingly the blueprint platform appears too. However when I run on it - it no longer falls. The second blueprint image below is constantly triggered though as I can run on / off jump up and down etc and it lights up as though it should fall again but it doesn't.
On top of this annoyance there is the strangest 'bug' that has me completely and utterly stumped. I can no longer fall apparently. I thought it may just be the area or something but I can't drop off my level anywhere he refuses to fall - so I'm not sure what's wrong but something definitely is.
I've attempted several things to resolve this: -
1 - At first I thought it could be a duplicate because I hadn't destroyed the actor. So I plugged the same destroy actor node from my character (before the character respawns seen below) into this BP reference as well.
This respawns my character but there's now no respawned destructible mesh. However the upside is that I can now fall through the air again. I assume this is closer to being correct - what I think is going wrong here is that I'm destroying my actual blueprint instead of the mesh of the blueprint. Nonetheless I'm not sure how to fix this.
The Respawn blueprint code (kill trigger area after the drop triggers a custom event from the third person char, rag dolls him and then respawns my character + the blueprint)
The blueprint code causing my destructible to fall. I opted to use blueprints to trigger this as I was having issues standing on it by default and it instantly cracking - this allowed me to set when to break it.
The odd error with my initial Blueprint code - my char floats in space. Cannot begin to imagine why a respawning issue with a blueprint would cause this.
Any help appreciated.
asked Feb 22 '16 at 05:58 PM in Blueprint Scripting
Not too sure what you mean. Check this screenshot, this is my respawning code.
It seems to be what you're suggesting because you can't select variables from a class list as far as I knew?
I do however, understand what you mean as that's what I figured was going wrong. I'm just not entirely sure how to fix it.
answered Feb 24 '16 at 02:44 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here