Create entities from avatar a bit lower to be able to transform them away from the user easier

This commit is contained in:
Thijs Wenker 2018-09-07 19:54:26 +02:00
parent 7bbedf65c7
commit dd6801219b

View file

@ -1739,7 +1739,6 @@ function getPositionToCreateEntity(extra) {
position = Vec3.sum(Camera.position, Vec3.multiply(Quat.getForward(Camera.orientation), CREATE_DISTANCE + delta));
} else {
position = Vec3.sum(MyAvatar.position, Vec3.multiply(Quat.getForward(MyAvatar.orientation), CREATE_DISTANCE + delta));
position.y += 0.5;
}
if (position.x > HALF_TREE_SCALE || position.y > HALF_TREE_SCALE || position.z > HALF_TREE_SCALE) {