I have a destructible robot. It’s parts can break apart and react to hits using the physics asset. The issues arise when I’m blending the physics weight.
In the GIF you can see that I break the head off first, then he animates (bringing the head back), he lands, the head goes back to where it originally dropped, and his body freaks out until I kill him.
Here are the problems that I can identify:
Blend weight returns broken rigid body constraints back to the skeletal mesh when blend weight is set to 0
When blend weight is set back to 1 (after landing the jump), the simulation freaks out and doesn’t stop freaking out until the character is dead and all of the objects are set to a new simulation.
Is it possible to ignore bones during physics blending? That way they don’t pop back onto the character.
Is there a way to prevent the physics asset from simulating in the background when I turn the blending to 0? I’m hoping that will allow the character to return to the simulation after the landing.
Nope, I wasn’t able to fix it. I ended up scrapping the idea of dynamically breaking limbs off. Now the limbs just break off when the character dies. Wish there was a way to ignore a specific bone during blending. There is a node for ignore blending, but I don’t think it does what I need.
The caching still works this way, but at least bodies that need to be blended will be do so properly. Not sure if this doesn’t really cause some hard to find problems, but my testing didn’t show anything suspicious at all, so I stick to this fix.