Search Issue Tracker
Fixed in 4.5.X
Votes
0
Found in
4.5.0b2
Issue ID
589212
Regression
No
HingeJoint2D Anchor flickers terribly when changing position
To reproduce:
1. Open the attached project
2. Open the scene "jointTest" (it contains a game object with a hinge joint 2D)
3. Play the scene
4. Open the scene view
5. Click W and try moving the game object
Explanation:
By dragging the object in the editor you are changing the transform component which then warps the Rigidbody2D from position to position which is something you should never do. It's a rule of all physics systems.
Joints desperately try to constrain this situation but the physics system is designed to constrain forces, not objects warping from position to position.
If you are running the simulation then when you drag, you'll see the position per-frame but the physics doesn't update per-frame so the joint tries to update next physics update so the rigid-body will sometimes render at the position you are dragging it to then the joint will try to meet its constraint.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Warnings "Attempting to draw with missing bindings" are logged when opening the HDRP VFX Template Sample Scene
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
- NullReferenceException and temporary graph corruption after entering playmode if output node connection was changed
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
Add comment