You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When spawning an object inside another GameObject to fix pivots, the position and rotation of the spawned object do not update automatically. The values are only updated when I manually refresh the Inspector.
var propObj = PropPrefab.Clone();
propObj.BreakFromPrefab();
var Parent_Empty = new GameObject();
propObj.SetParent(Parent_Empty);
propObj.LocalPosition = -propObj.GetBounds().Center;
Parent_Empty.LocalPosition = prop.Pos;
Parent_Empty.LocalRotation = prop.Rot;
To Reproduce
Clone a prefab and break it from the prefab connection.
Create a new empty GameObject to serve as a parent.
Describe the bug
When spawning an object inside another GameObject to fix pivots, the position and rotation of the spawned object do not update automatically. The values are only updated when I manually refresh the Inspector.
To Reproduce
Expected behavior
expected to behave like a object with no child.
Media/Files
Dev.-.HardDeal.-.s.box.editor.2024-12-14.01-18-47.mp4
Additional context
No response
The text was updated successfully, but these errors were encountered: