Reset ghost rotation to zero on follow (#8256)
This commit is contained in:
@@ -72,6 +72,7 @@ public sealed class FollowerSystem : EntitySystem
|
||||
var xform = Transform(follower);
|
||||
xform.AttachParent(entity);
|
||||
xform.LocalPosition = Vector2.Zero;
|
||||
xform.LocalRotation = Angle.Zero;
|
||||
|
||||
EnsureComp<OrbitVisualsComponent>(follower);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user