How to select based on GmaeObject's location instead of camera?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
datchcole
Posts: 10
Joined: Tue Jun 15, 2021 2:05 am

How to select based on GmaeObject's location instead of camera?

Post by datchcole »

*GameObject's

Hello! I wanted to have my selector be based on an empty game object trigger collider I have placed in front of my character but I can't seem to get it to stop being based on my camera object? Not sure the proper way to set this up as I normally always make first person games and I didn't see this sort of thing addressed in the tutorial vids but I may have missed it.

Here's a gif:

Help is much appreciated!
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to select based on GmaeObject's location instead of camera?

Post by Tony Li »

Hi,

Use a Proximity Selector instead. If you encounter any difficulties with it, please see: How To: Fix Selector and Proximity Selector Issues
Post Reply