ElderHank462 / Wynatia

Open world RPG
1 stars 0 forks source link

Improve item raycasting #5

Closed ElderHank462 closed 5 months ago

ElderHank462 commented 1 year ago

Currently it doesn't always pick up the object you want and can through weird errors.

ElderHank462 commented 5 months ago

improved - now dialog only shows up when looking directly at item, no longer throws errors intermittently. probably won't work if world item has a raycast-detectable collider nested two or more layers within the world item gameObject; one layer below works though.