레스토랑 플레이어 무브먼트 리팩토링 #9

Merged
Jeonghyeon merged 4 commits from feature/playermovement_refactoring into develop 2025-07-17 04:52:28 +00:00
Showing only changes of commit 54e469d796 - Show all commits

View File

@ -242,7 +242,7 @@ private bool TryGetCollisionInfo(Vector3 direction, out RaycastHit hit)
int layerMask = ~_playerDataSo.IgnoreSlidingLayerMask; int layerMask = ~_playerDataSo.IgnoreSlidingLayerMask;
return Physics.BoxCast(origin, halfExtents * _playerDataSo.BoxCastExtentScale, return Physics.BoxCast(origin, halfExtents * _playerDataSo.BoxCastExtentScale,
direction, out hit, transform.rotation, distance, layerMask); direction, out hit, transform.rotation, distance, layerMask, QueryTriggerInteraction.Ignore);
} }
private float CalculateSlideFactor(Vector3 direction, Vector3 normal) private float CalculateSlideFactor(Vector3 direction, Vector3 normal)