- Home /
Answer by Commoble · Mar 21, 2017 at 02:25 AM
The OnCollisionEnter, OnCollisionStay, and OnCollisionExit event can be used in a script to perform actions during collisions; there are also similar events for Trigger interactions, and seperate events for collisions and triggers with 2D physics. For more details on this subject, refer to the Unity Manual's section on Colliders, and the Unity Tutorials on Physics.
Your answer
Follow this Question
Related Questions
Can't click gameobject when over another trigger? 1 Answer
Using two trigger colliders 1 Answer
On Collide script not working! 1 Answer
Trigger Spawning? 1 Answer
Temporarily ignore collisions between player and enemies 2 Answers