Plane Constraint Normal Doesn't Reset Properly

Hello,

I’m running 4.10.2 and have ran into a bug when digging around the SideScroller example project. I was trying to figure out how the character was being constrained to the 2D plane and finally found it under “Plane Constraint Normal”. I decided to play with it and constrain the character to X/Y via (1,1,0). That worked, so I set it back to X via (1,0,0) and found that the character was still constrained to X/Y.

I looked further and found that if you change the Plane Constraint Axis Setting to “X”, then back to “Custom”, compile and run the game, it fixes the bug.

Repro steps:

  1. Load the SideScroller example project.
  2. Open the SideScrollerCharacter and select "CharacterMovement (Inherited) from the Components pane.
  3. In the Details pane scroll to the bottom and change the “Planar Movement” sections “Plane Constraint Axis Setting” Y value to 1.0. It should now read (1,0,0). NOTE: This setting doesn’t appear in the main editor’s “Details” panel, I do find this odd, is this a separate bug?
  4. Compile and run the game. The character should move on the X/Y plane.
  5. Return to the SideScrollerCharacter and change the Y value back to 0.0.
  6. Compile and run the game. Note the character still moves on the X/Y plane.
  7. Return to the SideScrollerCharacter and change the “Plane Constraints Axis Setting” to “X”.
  8. Change it back to Custom. Note the “Plane Constraint Axis Setting” should read (1,0,0).
  9. Compile and run the game. The character now is back to normal, the bug is gone.

Please let me know if you need more information. Hopefully this is helpful at tracking down and fixing this bug. Sounds like an easy one!

Hello,

I have been able to reproduce your issue, and have entered a bug report (UE-25987). Thank you for your report, and for providing repro steps. I will provide updates on this issue as they become available.

Have a great day

Hello,

I just wanted to provide an update that this issue has been fixed internally, and will be released in a future version of the engine.

Have a great day