Previous Document Next Document

Interaction > Creating reactions > Set Material reaction

Set Material reaction


This reaction swaps one material for another.

This allows you to switch from one color to another, or swap textures.


To create a Set Material reaction:
  1. Make sure you have at least one object with a material applied, and a second material, either on another object or under Resources / Materials in the World Explorer.
  2. Multi-select the object and the material it should switch to.
  3. Choose Interaction > Reactions > Set Material.
  4. Link the reaction to a sensor.
  5. When the reaction is triggered, the object's material is set to the material you selected in step 2.


See also:

Materials

Adding Textures

Linking Sensors and Reactions

Editing Triggers

Previous Document Next Document