aboutsummaryrefslogtreecommitdiffstats
path: root/code/pawn/Ragdoll.cs
diff options
context:
space:
mode:
Diffstat (limited to 'code/pawn/Ragdoll.cs')
-rw-r--r--code/pawn/Ragdoll.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/code/pawn/Ragdoll.cs b/code/pawn/Ragdoll.cs
new file mode 100644
index 0000000..9948946
--- /dev/null
+++ b/code/pawn/Ragdoll.cs
@@ -0,0 +1,13 @@
+using Sandbox;
+
+public partial class Ragdoll : AnimatedEntity
+{
+ public Ragdoll()
+ {
+ Tags.Add( "ragdoll" );
+ PhysicsEnabled = true;
+ UsePhysicsCollision = true;
+ EnableSelfCollisions = true;
+ EnableSolidCollisions = true;
+ }
+}