26.6. Settings in the MaterialButtons

Some physical attributes can be defined with the material settings of Blender. The MaterialButtons can be accessed via the icon in the header of the ButtonsWindow or by pressing F5. Create a new material or choose an existing one with the MenuButton in the header.

In the MaterialButtons you need then to activate the "DYN" button to see the dynamic settings (See Figure 26-7).

Figure 26-7. Material settings for dynamic objects

Restitute

This parameter controls the elasticity of collisions. A value of 1.0 will convert all the kinetic energy of the object to the opposite force. This object then has an ideal elasticity. This means that if the other object (i.e. the ground) also has a Restitute of 1.0 the object will keep bouncing forever.

Friction

This value controls the friction of the objects material. If the friction is low, your object will slide like on ice, with a high friction you get the effect of sticking in glue.

Fh Force

In conjunction with the "Do Fh" and/or "Rot Fh" (see Section 26.4) you make an object float above a surface.

"Fh Force" controls the force that keeps the object above the floor.

Fh Dist

"Fh Dist" controls the size of the Fh area. When the object enters this area the Fh mechanism starts to work.

Fh Damp

Controls the damping inside the Fh area. Values above 0.0 will damp the object movement inside the Fh area.

Fh Norm

With this button activated the object also gets a force in the direction of the face normal on slopes. This will cause an object to slide down a slope (see the example: FhDemo.blend).



26.6.1. Specularity settings for the game engine

Figure 26-8. Specularity settings



Specularity settings in the MaterialButtons

Spec

This slider controls the intensity of the specularity.

Hard

This slider controls the size of the specularity (hardness).

Spec color

Activating this button, switches the RGB (or HSV) sliders to define the specularity color.