Skip to content

Commit e2bf760

Browse files
committed
Update WorldBrowserPage.vue
Changed how rotation angle of the object is calculated to be consistent with beaming. This gets rid of the angle being slightly off when beaming to the object and dropping another one.
1 parent 5bffea3 commit e2bf760

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spa/src/pages/world-browser/WorldBrowserPage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ export default Vue.extend({
308308
x: dropRotation._value.x_,
309309
y: dropRotation._value.y_,
310310
z: dropRotation._value.z_,
311-
angle: dropRotation._value.angle + 3.15,
311+
angle: dropRotation._value.angle + Math.PI,
312312
},
313313
});
314314
this.sharedObjects.push(request.data.object_instance);

0 commit comments

Comments
 (0)