aboutsummaryrefslogtreecommitdiffstats
path: root/code/pawn/component/PlayerAnimator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'code/pawn/component/PlayerAnimator.cs')
-rw-r--r--code/pawn/component/PlayerAnimator.cs21
1 files changed, 0 insertions, 21 deletions
diff --git a/code/pawn/component/PlayerAnimator.cs b/code/pawn/component/PlayerAnimator.cs
deleted file mode 100644
index 4cd4e3f..0000000
--- a/code/pawn/component/PlayerAnimator.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using Sandbox;
-using System;
-
-namespace MurderGame;
-
-public class PlayerAnimator : EntityComponent<Player>, ISingletonComponent
-{
- public void Simulate()
- {
- var helper = new CitizenAnimationHelper( Entity );
- helper.WithVelocity( Entity.Velocity );
- helper.WithLookAt( Entity.EyePosition + Entity.EyeRotation.Forward * 100 );
- helper.HoldType = CitizenAnimationHelper.HoldTypes.None;
- helper.IsGrounded = Entity.GroundEntity.IsValid();
-
- if ( Entity.Controller.HasEvent( "jump" ) )
- {
- helper.TriggerJump();
- }
- }
-}