Fix attempt for avatar stuck in geometry.

This commit is contained in:
Atlante45 2017-03-17 16:11:47 -07:00
parent eccc9ff47c
commit 1ce4dcc6e5

View file

@ -276,7 +276,11 @@
var offset = { x: 0, y: 1.0, z: -0.5 - properties.dimensions.z * properties.registrationPoint.z };
var position = Vec3.sum(properties.position, Vec3.multiplyQbyV(properties.rotation, offset));
MyAvatar.position = position;
print("Moving Avatar in front of the chair.")
print("Moving Avatar in front of the chair.");
// Delay standing up by 1 cycle.
// This leaves times for the avatar to actually move since a lot
// of the stand up operations are threaded
return;
}
this.standUp();