Visualizer for angular limits is off when using an angular offset

In the Editor, the cone showing the physics constraint angular limits is not at the right place when there is an angular rotation offset on the constraint.

With a 45 degree limit and a 45 degree offset, the green cone is on the bottom right quarter but when simulating, the constraint actually limits the cube rotation to the upper right corner.

Steps to reproduce:

  1. New project, add a Cube and a PhysicsConstraintActor
  2. Set the cube as the Constraint Actor 2, activate physics on cube
  3. Lock everything except one rotation axis (it’s easier to visualize the problem)
  4. Add some angular rotation offset to the constraint

285502-capture.png

  1. Simulate or Play in Editor and poke the cube with some physics

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks