Commit 4d10c300 authored by 13정준영's avatar 13정준영

엣지노트 판정 버그 수정

parent 18576e46
...@@ -53,6 +53,6 @@ public class EdgeNoteObject : NoteObject ...@@ -53,6 +53,6 @@ public class EdgeNoteObject : NoteObject
public override bool IsHit(PlayerInput input) public override bool IsHit(PlayerInput input)
{ {
return Mathf.Abs(Mathf.Acos(Vector3.Dot(direction.normalized, input.ray.direction))) < 30; return Vector3.Dot(direction.normalized, input.ray.direction) > 0.5;
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment