Setup is like the following:
C1 is a cube, on top side, not simulating physics.
C2 is a cube, on the bottom side, simulating physics, enable gravity.
A Physics Constraint that links two cubes, with linear limit = 200, so C2 would just free fall to the ground when the game begins.
In the game tick, I gradually decrease linear limit to zero, the intended behavior is that C2 gradually move upwards, until it hits C1, but the real behavior is that, C2 stays still on the ground.
But, if I move C1 or C2 a little bit, let C2 come off the ground a little bit, then the simulation would be correct, i.e. C2 is going upwards.
Please check the project included for more details.
Just hit play and eject, select the actor Cubes and you can see the outlines of physics constraint.
Watch the green line decreasing it’s length, as the green line become shorter than the distance of C1 and C2, C2 still stays on the ground.
All codes are in the BP “Cubes”, thanks.
