In this paper, we describe lexical rule-based approach to affect sensing from text, and application of the developed Affect Analysis Model in 3D virtual world Second Life. To enrich user experience in virtual environment, to automate emotional behaviour of avatar and to avoid thus manual control by user, we developed EmoHeart object that, driven by the result of Affect Analysis Model, triggers animations of avatar facial expressions and visualizes emotion by the heart-shaped textures.