You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The raycast for the grappling hook was originating from the center of the player's physics body. This caused issues when the player was very close to a grapple anchor, as the ray's origin could be inside the anchor's physics volume, preventing the raycast from detecting it.
This change offsets the starting point of the raycast by 2 units in the direction the player is looking. This ensures that the raycast always begins from a point in front of the player, allowing it to correctly detect anchors even when the player is standing right next to them.
0 commit comments