Changeset 1347


Ignore:
Timestamp:
May 6, 2012, 10:52:47 PM (11 years ago)
Author:
sam
Message:

orbital: more randomness in tanks.

Location:
trunk/orbital
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/orbital/player.h

    r1344 r1347  
    2929
    3030        m_drone_mesh.SendCommand("sc0.2,0.7,0,1,afcb3,6,10,0.4,tx-8,afcb3,6,10,0.4,tx4,ty13,fl,sc1,1,1,1,afcb3,6,10,0.4,rx-30,ty13,fl");
     31
     32        m_position = vec3(0.f, 5.f, 0.f);
    3133    }
    3234
  • trunk/orbital/tank.h

    r1340 r1347  
    1919        m_body.SendCommand("sc0.1,0.1,0,1,ab6,6,15,ty-2,sc1,1,1,1,afcb4,5,16,0.4,tx4,ty5,mx,fl,sc0.2,0.7,0,1,afcb8,7,10,0.4,tz-4,ty5,fl");
    2020        m_turret.SendCommand("sc0.2,0.7,0,1,afcb3,6,10,0.4,tx-8,afcb3,6,10,0.4,tx4,ty13,fl,sc1,1,1,1,afcb3,6,10,0.4,rx-30,ty13,fl");
     21
     22        m_rotation = quat::rotate(RandF(0.f, 360.f), vec3(0, 1, 0));
    2123    }
    2224
Note: See TracChangeset for help on using the changeset viewer.