Skip to content

get_global_transform_interpolated doesn't work when the object is hidden #107235

@retrotails

Description

@retrotails

Tested versions

bisected to ae04a3a

System information

linux

Issue description

get_global_transform_interpolated returns the non-interpolated position when the object is hidden. this is a regression bisected to ae04a3a

Steps to reproduce

see mrp

Minimal reproduction project (MRP)

extends Node3D
var t = 0.0
func _physics_process(delta: float) -> void:
	t += delta
	$bottom.position.x = sin(t)*3.0
	$bottom.visible = fmod(t/2,1.0) < 0.5
func _process(delta: float) -> void:
	$top.position.x = $bottom.get_global_transform_interpolated().origin.x
2025-06-06.webm

mrp_interp.zip

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Very Bad

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions