In ConstraintDrives.cpp, SetAngularPositionDrive and SetAngularVelocityDrive do not use "InEnableTwistDrive" and instead assign "TwistDrive" to "InEnableSwingDrive".
void FAngularDriveConstraint::SetAngularPositionDrive(bool InEnableSwingDrive, bool InEnableTwistDrive) { SwingDrive.bEnablePositionDrive &= InEnableSwingDrive; TwistDrive.bEnablePositionDrive &= InEnableSwingDrive; } void FAngularDriveConstraint::SetAngularVelocityDrive(bool InEnableSwingDrive, bool InEnableTwistDrive) { SwingDrive.bEnableVelocityDrive &= InEnableSwingDrive; TwistDrive.bEnableVelocityDrive &= InEnableSwingDrive; }
Try using SetAngularVelocityDrive and SetAngularOrientationDrive and check that twist and swing both work as expected.
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
UMG RichText not appear image when packaged
How to delete some elements correctly when deleting an array loop?
How does TArray loop correctly remove elements in blueprints?
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Simulation - Physics |
---|---|
Affects Versions | 4.13 |
Target Fix | 4.14 |
Fix Commit | 3132795 |
---|---|
Main Commit | 3136620 |
Created | Sep 6, 2016 |
---|---|
Resolved | Sep 20, 2016 |
Updated | Apr 27, 2018 |