x


2D Trigger Detection

I'm starting to develop a 2D Game (specifically a TD game) in Unity. I currently plan on using triggers to see if one of my objects is inside an area. I'm aware that Colliders/Triggers do not send messages when there is no rigidbody attached to them.

The game doesn't have any physics so what would be a good way to approach the trigger detection? Will I have to manually script something that checks all the objects in a vicinity (via Raycast probably?) Or would trying to work with Colliders/Triggers be a better approach?

more ▼

asked Oct 12 '12 at 03:09 AM

wintermute gravatar image

wintermute
1

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1033
x980

asked: Oct 12 '12 at 03:09 AM

Seen: 149 times

Last Updated: Oct 12 '12 at 03:09 AM