mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
change eve's orientation and hand position
This commit is contained in:
parent
3016e5665f
commit
f4d5774e69
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue