Skip to content

Physic Interpolation on moved hidden object lock them on place #107142

@TheMagnat

Description

@TheMagnat

Tested versions

  • Reproducible in: 4.5.dev5
  • Not reproducible in: 4.5.dev4 and below

System information

Godot v4.5.dev5 - Windows 11 (build 22631) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated AMD Radeon RX 6950 XT (Advanced Micro Devices, Inc.; 32.0.21001.9024) - 13th Gen Intel(R) Core(TM) i5-13600KF (20 threads)

Issue description

After having moved an hidden object (Here using a tween, I did not test with other type of motion) with physic interpolation on, if you show the object, it will lock it in place, and make it unable to move (at least with a tween, even if you kill and recreate the tween)

20250605-1017-04.5866615.mp4

This only happen in 4.5.dev5

Steps to reproduce

  • Create a visible object A and hide it
  • Move A with a Tween
  • Unhide (show) A

(Using the MRP, you can just start the project and start the current scene, note that in the editor using a @tool script the bug does not appear. There is a second scene "bug_test_scene_2" showing the same bug but after the motion ended)

Minimal reproduction project (MRP)

PhysicInterpolationAndHideBug_MRP.zip

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Very Bad

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions