GrassGeneratorquery

Hey guys, and Becky.
Hey so heres a bit from the grass generator script

	Vector3 direction = Camera.main.transform.TransformDirection(Vector3.forward);
		Vector3 position = Camera.main.transform.position;

Is it possible to have the generator work if using more than 1"Main Camera"?
I have a car, you can switch views by toggling cameras, but i always get this error, and i fear it is stuffing up other stuff and stopping it from working. I tried swapping Main with cameracurrent and that didnt work. Should I just forget about the grass generator?
Calling every camera Main Camera doesnt cut it either
Thanks Yo
AC

25530--921--$picture_22_104.png

You have to make the camera’s tag be “MainCamera”, otherwise the script cant find the camera. If you have two enabled cameras at a time you need to make sure only the one which you want the grass on has the MainCamera tag.