Bounce when touch collision unity

broken image

There are several collider types in Unit圓D. If an object has a collider that is configured as a trigger, that object does not collide with any other object but overlap instead. The purpose of triggers is to trigger events when more than one objects overlap. On the other hand, triggers are special setups of colliders. We can determine which objects will collide with each other, or how objects will behave under collisions using colliders. The physics engine simulates collisions using colliders. In Unity, colliders are components that allow the physics engine to handle the collisions.

broken image

What is the difference between colliders and triggers? how to ignore collisions between objects that have certain layers.creating a physics material to add properties like bounciness and friction.how we can add a collider to an object.the difference between a collider and a trigger.

broken image

We use colliders and/or triggers for these purposes. Likewise, while we develop games, most of the time we start or stop events based on other events. Many games simulate real-world physics and collisions are also a crucial part of these simulations.

broken image