I spawned a Physics Constraint Actor, and assign its Component 1 and Component 2, thus started a constraint, it works perfectly.
But, when I want to stop this constraint, I called DestroyActor for that Physics Constraint Actor, it is destroyed, but the constraint remains for a period of time before vanishing.
Is there any method to let it go away immediately?
My only clue is ConstraintData->release();
in FConstraintInstance::TermConstraint()
, I’m guessing this release() does not end the constraint immediately, but in some queue.