N
N
NickName73312018-02-10 20:00:14
C++ / C#
NickName7331, 2018-02-10 20:00:14

Unity (C#) - How to check if a character has crossed a collider?

I came across one problem. There is a collider on the map, and when the main character crosses this collider, a certain action must occur. What are the ways to check if the main character has crossed the required collider?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Romanov, 2018-02-10
@NickName7331

OnCollisionEnter2D, OnTriggerEnter2D

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question