This issue has been closed as 'Won't Fix' due to an extended period of time without updates. If this issue is important to you please let us know by posting on the AnswerHub or UDN, and Epic will re-open the ticket for further review.
James: I think we currently recreate the capsule body when you change dimensions, should just change the shape instead.
–
DisableCollision is reset if constrained Capsule Component height is changed at runtime
User Description:
The setup consists of two capsule colliders that are constrained together, they overlap at the tips but the joint is set so that they ignore collision between them.
Suddenly they collide with each other and the limits are no longer in effect, they can travel as far away from each other as they want. The joint hasn't broken from what I can tell since OnConstraintBroken is never triggered, the red and blue lines that should connect to the joint are still there but they no longer connect to the joint. Messing around with constraint settings, motors and different limits etc also gives some behavior.
1. Download, unzip, and open the ConstraintError.7z test project that is attached
2. Open Test map
3. PIE
4. Press E to change one of the capsule's Half-Heights
Results: The capsules will start colliding and fly apart
Expected: For the constraint to keep the value of DisableCollision as Enabled if the capsule size changes
(Note: Open the ChainTester bp to see the users setup in the Construction Script and the Event Graph)
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Simulation - Physics |
---|---|
Affects Versions | 4.8.2, 4.9 |
Created | Jul 20, 2015 |
---|---|
Resolved | Feb 2, 2017 |
Updated | Apr 27, 2018 |