Problem with OnTriggerEnter2D

Sanjay

New member
Hi, I have a problem with OnTriggerEnter2D

I added Debug.Log in the 'HasEnteredTrigger2D' like below and expected see a log message.

1543785665675.png


1543785784611.png 1543785822284.png
1543785846048.png 1543786012189.png

'A' shows me a log message.
No log message with 'B', 'C', 'D'.
I think 'HasEnteredTrigger2D' is reevaluating all 4 cases.

What am I wrong?
 

Justin

Administrator
Staff member
The easiest way to get it to reevaluate is to use a lower priority conditional abort:

1543864593002.png
 
Top