Tutorial: Collison Categories

From Color Infection Wiki

Jump to: navigation, search

First of all: IF you have never made a CI puzzle, please read the Basic Tutorial.

You might think, why is there a "collison categories" tab. This short tutorial will tell why. If you visit the forum, there are many levels with objects like these: Ball #1 doesent collide with ball #2, but the ball #2 and the ball #1 both collide ball #3. How is this possible? With the CCs.

How to?

Make 3 ccs. One called "ball #1", "Ball #2" and "Ball #3". (If you have problems with the name, remember to press Enter after typing the name in.) Then select "creeate friend link" and draw the line; From "Ball #1" to "ball 2". Now go back to the normal editor. From the settings of the balls, select the CC from the list (starting with "(hidden category)). Put "ball #1" to one of the balls, "#2" to one and the third to one. Now the #1 and #2 shouldnt collide each other.

Some information

If you make collison category a default, all new objects will be in this category. If CC is selected to be non-collide, objects in the CC dont colide each other. Friend link can be broken with the "break friends" button.