* Fix effects - Fix muzzle flash rotations. - Fix effects so they update every frame. - Fix effects tanking client performance. * Fix merge artifact
18 lines
419 B
C#
18 lines
419 B
C#
using System.Numerics;
|
|
|
|
namespace Content.Client.Animations;
|
|
|
|
/// <summary>
|
|
/// Entities with this component tracks the user's world position every frame.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class TrackUserComponent : Component
|
|
{
|
|
public EntityUid? User;
|
|
|
|
/// <summary>
|
|
/// Offset in the direction of the entity's rotation.
|
|
/// </summary>
|
|
public Vector2 Offset = Vector2.Zero;
|
|
}
|