Update content for .Owner culling (#14185)

This commit is contained in:
metalgearsloth
2023-02-22 12:45:32 +11:00
committed by GitHub
parent c1d31e1666
commit 2e25128770
9 changed files with 11 additions and 10 deletions

View File

@@ -73,7 +73,7 @@ public sealed class FollowerSystem : EntitySystem
followedComp.Following.Add(follower);
var xform = Transform(follower);
_transform.SetParent(xform, entity);
_transform.SetParent(follower, xform, entity);
xform.LocalPosition = Vector2.Zero;
xform.LocalRotation = Angle.Zero;