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
- Crash when trying to force Shader to interpret 1/30 as a floating point operation
- Terrain is flickering when adjusting "Compatibility Mode" and "Use Rendering Layers" Settings
- Isometric tiles are flickering and overlapping each other when entering Play Mode with Tilemap Renderer mode set to "Chunk"
- Crash on ParticleSystemParticles::array_reserve when particle system starts
- Docking Text Property Preview Window next to UI Builder breaks the window and causes NullReferenceException
Add comment