fix: correctly detecting items horizontally in front of player
This commit is contained in:
@ -93,7 +93,7 @@ public partial class PlayerController : CharacterBody3D
|
||||
StairsSystem.Init(stairsBelowRayCast3D, stairsAheadRayCast3D, cameraSmooth);
|
||||
|
||||
MantleSystem = GetNode<MantleSystem>("MantleSystem");
|
||||
MantleSystem.Init(wallInFrontRaycast3D);
|
||||
MantleSystem.Init(wallInFrontRaycast3D, Head);
|
||||
|
||||
CapsuleCollider = GetNode<CapsuleCollider>("CapsuleCollider");
|
||||
|
||||
|
Reference in New Issue
Block a user