Collision Effects

Not only can collisions prevent objects from going through one another, but you can create all sorts of effects when two objects collide with one another. When two cars collide or a bullet hits an object, you don’t just want them to slide off one another; you want them to explode, leave a mark, or disappear. In this section, we will examine different collision effects that we can create when two objects collide. To create our collision effects, we’ll use the Count Collisions command. This command will count how many times an object you specify has collided with another object.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.71.28