Skip to content

Commit

Permalink
Display grab colldiers (purple)
Browse files Browse the repository at this point in the history
  • Loading branch information
psyGamer committed Feb 17, 2024
1 parent b003f4c commit 6a36865
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/Actors/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2330,6 +2330,11 @@ public void RenderCollider(Batcher3D batch)
batch.Disk(SolidWaistTestPos, WallPushoutDist, 16, Color.Yellow * 0.5f);
batch.Disk(SolidHeadTestPos, WallPushoutDist, 16, Color.Yellow * 0.5f);

// Climb check
batch.Torus(SolidWaistTestPos, ClimbCheckDist, 16, new Color(0xFF00FF));
if (Velocity.Z > 0 && !onGround && stateMachine.State != States.Climbing)
batch.Torus(SolidWaistTestPos + Vec3.UnitZ * 4, ClimbCheckDist, 16, new Color(0xFF00FF));

// Death/Pickup collision
batch.Cube(SolidWaistTestPos, Color.Red, thickness: 0.2f);

Expand Down

0 comments on commit 6a36865

Please sign in to comment.