Loving this asset and having an early issue. I tried searching the forum but couldn't find anything specific to this. I have everything set up as per this video:
It all seems to work *but* my Can See Object just isn't ever returning true. I am working with 2D. I have selected Use Physics 2D. My 'vision cone' shows properly and I can adjust it.
I guess my first hunch is that tutorial says to drag a Transform (to use as the Target Object) but when I drag it into that field it is a GameObject which means I can't assign the Transform variable to the returned object on Can See Object or the Target on the Seek task as it's a Transform and not a GameObject.
Does this all make sense? Ok. So then, I decided I would make that variable a GameObject and then I was able to select it for the returned object on Can See Object and also as the Target on the Seek task. It still did not work - even when I placed my player object directly in the 'vision cone' it wouldn't return true.
**edit**
Ok I have compared to a past project that I have done and the other project worked fine when using a GameObject variable in place of a Transform so it must be something else.
Does anyone have any ideas?
It all seems to work *but* my Can See Object just isn't ever returning true. I am working with 2D. I have selected Use Physics 2D. My 'vision cone' shows properly and I can adjust it.
I guess my first hunch is that tutorial says to drag a Transform (to use as the Target Object) but when I drag it into that field it is a GameObject which means I can't assign the Transform variable to the returned object on Can See Object or the Target on the Seek task as it's a Transform and not a GameObject.
Does this all make sense? Ok. So then, I decided I would make that variable a GameObject and then I was able to select it for the returned object on Can See Object and also as the Target on the Seek task. It still did not work - even when I placed my player object directly in the 'vision cone' it wouldn't return true.
**edit**
Ok I have compared to a past project that I have done and the other project worked fine when using a GameObject variable in place of a Transform so it must be something else.
Does anyone have any ideas?
Last edited: