Skip to content
Snippets Groups Projects
Commit 2a0091b1 authored by Fahrian Afdholi's avatar Fahrian Afdholi
Browse files

fix: shotgun

parent 562e103b
No related merge requests found
......@@ -118,7 +118,7 @@ public class ShotgunController : MonoBehaviour
foreach (var line in lineRenderer)
{
ray.origin = transform.position;
ray.origin = cam.transform.position;
float xVal = Random.Range(-0.5f, 0.5f);
float yVal = Random.Range(-0.5f, 0.5f);
float zVal = Random.Range(-0.5f, 0.5f);
......
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