How can I disconnect physics components dynamically with BP?

Hi!

When I push down MBL, I connect my character to hook point created dynamically with Physics Constraint.

When I release this key, I disconnect this component to free my character, but it still remains connected.

This is the BP code to disconnect:

Am I doing something wrong? I try to create the swing and hook system like Spiderman: a hook point is created dynamically and it is connected to my character when you push MBL. This hook point is where I am pointing.

Sorry my bad english :frowning:

Thanks in advance?

Hello @shotoreaper,

I tried a lot of methods and the only one that I found to work was using the “Break Constraint” node like I do in the example code below.

51709-breakphysicsconstraint+1.png

I hope this answer helps,

Farshooter

Perfect!!! It works!! Thank you!!