Health Bar -- Blender Game Engine


 
pageok

  
6.  Move HealthBar object center to left edge
   
HealthBar selected.  Edit mode.

Snap cursor to HealthBar left edge
Select 2 left vertices
3D View menu >> Mesh >> Snap
Cursor -> Selection

Switch to Object mode

Move object center to cursor
3D View menu >> Object >> Transform
Center Cursor

 

   
7.  Add IPO key for 100% health

Note:
My HealthBar will have a range of 0 to 100.

HealthBar selected -- Object Mode

Set Animation Frame to 100
Buttons Windows menu >> Animation Frame box
Set animation frame to 100
Select Animation Frame box
    Enter 100

IPO Curve Editor
IPO Type >> Object

3D View window >> I key
Insert Key >> Scale

 


 
  
pageok