Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instance Transform is not updated if changed in the original scene. #73840

Open
esaytee2 opened this issue Feb 23, 2023 · 0 comments
Open

Instance Transform is not updated if changed in the original scene. #73840

esaytee2 opened this issue Feb 23, 2023 · 0 comments

Comments

@esaytee2
Copy link

Godot version

v3.5.1.stable.official [6fed1ff]

System information

Windows 11

Issue description

Change of the root's Transform in the original scene is not propagated to its instance instanced in other scenes, if one of the transformations of the root is changed, for example, the position.

Real-life example: It is not possible to change for example the scale of all instances of the scene by changing the scale of the root in its original scene.

Desired behavior is that if transformations in the Transform are presented as individual properties to a user and can be reset individually, should be also individually updated in instances.

Steps to reproduce

  1. Create a simple scene of object A with a root type that has Transform, for example, Spatial
  2. Instantiate object A in another scene
  3. Change any of the transformations on the instance of the object A, for example, position (like you would like to instantiate the object in your game level)
  4. Now change the scale on the root node in the original scene of the object A. (like you would like to adjust the scale of all instances of this object in your whole game)
  5. Instances are not updated, because of the changed position(transformations)
  6. If you reset all transformations of the instance, it will be possible to update by changes in its original scene

Minimal reproduction project

RootTransformIssue.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants