(DRAFT) Shooter Example, initial push. B

This commit is contained in:
JesusLuvsYooh 2024-07-04 16:01:44 +01:00
parent 00a1d1f3d5
commit 6f02d27976

View File

@ -182,7 +182,6 @@ public virtual bool RaycastCheck(
// raycast
Vector3 direction = hitPoint - originPoint;
float maxDistance = direction.magnitude * 2;
bool result = Physics.Raycast(originPoint, direction, out hit, maxDistance, layerMask);
// cleanup