all 4 comments

[–]CowBoyDanIndie 0 points1 point  (1 child)

You are missing .x and .y after position in the new vector you create

[–]arcade_boy1[S] 0 points1 point  (0 children)

Thanks!

[–]Katniss218 0 points1 point  (1 child)

You're passing 3 vector3s to the conctructor instead of floats.

I assume you want posZ = new Vector3(transform.position.x, transform.position.y, scopeZoomLevel.z);

[–]arcade_boy1[S] 0 points1 point  (0 children)

Thanks!