change eve's orientation and hand position

This commit is contained in:
Stephen Birarda 2013-04-22 13:55:59 -07:00
parent 3016e5665f
commit f4d5774e69

View file

@ -76,6 +76,14 @@ int main(int argc, char* argv[]) {
// move eve away from the origin
eve.setBodyPosition(glm::vec3(3, 0, -3));
// turn her back towards the origin
eve.setBodyYaw(-45);
// put her hand out so somebody can shake it
eve.setHandPosition(glm::vec3(eve.getBodyPosition()[0] - 0.2,
0.25,
eve.getBodyPosition()[2] + 0.1));
unsigned char broadcastPacket[MAX_PACKET_SIZE];
broadcastPacket[0] = PACKET_HEADER_HEAD_DATA;