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 on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Add comment