Description

The AngularLimit visualizer isn't displayed as expected when adjusting the AngularRotationOffset.

You can manually rotate the PhysicsConstraint and it will rotate the AngularLimit visualizer, however this causes the visualizer to no longer match what the AngularRotationOffset will do.

This is not a Regression.

User Description:

Seems wrong to me. Setting the offset to -90Degree works for me, but the result is different from what is shown by the ConstraintComponent.

It is also very difficult to understand what is rotating around what, cause rotating the constraint round its axis does not always affect the result. Taking the door as example, rotating the constraint around its Z-Axis does not change anything.

It seems the pivot of the door is rotating around the location of the constraint. The X-Axis of the constraint represents the connection of the constraint to the object.

Steps to Reproduce

1. Open the attached test project
2. PIE & walk forward into the cube on the right
3. Watch the cube correctly move like a door
4. Stop PIE & open 'BP_PhysCont01'
5. In the Viewport, select the PhysicsConstraint component and rotate it 90 degrees
6. Compile & save
7. PIE & walk forward into the cube on the right

Results: The cube will still correctly move like a door but according to the visualizer it should be rotating the other direction.

Expected: for the visualizer to always match the AngularRotationOffset and rotating the PhysicsConstraint doesn't change the visualizer.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Won't Fix
ComponentUE - Simulation - Physics
Affects Versions4.14.1
Target Fix4.16
CreatedDec 9, 2016
ResolvedMar 22, 2017
UpdatedApr 27, 2018