Files
tbd-station-14/Content.Shared/Throwing/LandAtCursorComponent.cs
slarticodefast 92e2980534 Improve throwing precision (#29726)
* improve throwing precision

* remove debugging logs

* minor fixes

* f

* Update Content.Shared/Throwing/LandAtCursorComponent.cs

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2024-07-08 19:03:53 +10:00

13 lines
490 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Throwing
{
/// <summary>
/// Makes an item land at the cursor when thrown and slide a little further.
/// Without it the item lands slightly in front and stops moving at the cursor.
/// Use this for throwing weapons that should pierce the opponent, for example spears.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class LandAtCursorComponent : Component { }
}