Unity 2D Games Developer Question: Download Unity 2D Games Developer PDF

Explain me can two GameObjects, each with only an SphereCollider, both set as trigger and raise OnTrigger events?

Tweet Share WhatsApp

Answer:

No. Collision events between two objects can only be raised when one of them has a RigidBody attached to it. This is a common error when implementing applications that use “physics.”

Download Unity 2D Games Developer PDF Read All 52 Unity 2D Games Developer Questions
Previous QuestionNext Question
What is first Person Shooters?What are simulations?