godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.95k stars 20.17k forks source link

SpringArm(x)D should also update children's transform at editor time #96376

Open godotc opened 2 weeks ago

godotc commented 2 weeks ago

Tested versions

v4.4.dev

System information

Godot v4.4.dev (a5830f6eb) - Windows 10.0.22621 - GLES3 (Compatibility) - NVIDIA GeForce RTX 3080 (NVIDIA; 32.0.15.5585) - 12th Gen Intel(R) Core(TM) i9-12900K (24 Threads)

Issue description

Currently, the children of SpringArm3D component, only update their transform at runtime. And if I modified the properties (spring_arm_length...) of SpringArm3D, the children(for example a camera node), which will be inconsistent about the transform from editor preview to real play in game.

Steps to reproduce

image

Minimal reproduction project (MRP)

--

AThousandShips commented 2 weeks ago

This is really more of a proposal, and solving this is pretty complicated and would introduce various potential problems as physics doesn't run in the editor, it'd also need to be something you opt-in for or it'll break existing workflows IMO

I'd suggest opening a proposal instead as that's more suited to this as this is a potentially missing feature and not a bug