mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-06 17:58:05 +02:00
Make transform handlestate set coordinates and not attachparent (#2965)
This makes the EntParentChangedMessage have the new position when it's issued.
This commit is contained in:
@@ -383,7 +383,7 @@ public abstract partial class SharedTransformSystem
|
||||
#endif
|
||||
}
|
||||
|
||||
component.AttachParent(Transform(newParentId));
|
||||
component.Coordinates = new EntityCoordinates(newParentId, newState.LocalPosition);
|
||||
}
|
||||
|
||||
rebuildMatrices = true;
|
||||
|
||||
Reference in New Issue
Block a user