I want to create a ragdoll event when radialforce hits the character and disable this ragdoll event when the character lands.
How can I achieve this effect?
I want to create a ragdoll event when radialforce hits the character and disable this ragdoll event when the character lands.
How can I achieve this effect?
Actors do not detect being hit by forces, but you can trigger Radial Damage
along the radial force. Note that the mesh itself is not simulating physics when it’s being hit. So you may want to apply forces to the mesh manually - this stems from the relation the character’s capsule and mesh form.
An alternative - overlap nearby components and enable simulation before applying Radial Force.
disable this ragdoll event when the character lands
Since the character is ragdolling, the movement component can no longer detect Land
either. You’ll need to test when the character stops moving - a Sleep
event should work well.