1
This commit is contained in:
5
index.js
5
index.js
@ -221,9 +221,8 @@ export const executeEvent = async (dropzone_data, result, sku) => {
|
||||
axis: rotation.y === 0 || rotation.y === 180 ? 'x' : 'z',
|
||||
step: 0.1,
|
||||
boundaryConstraint: true, // 启用边界限制
|
||||
snapToZone: true, // 启用拖拽吸附到最近的分割区域
|
||||
// 拖拽到已占用区域时的行为:'return' 返回原位置,'replace' 替换目标位置的模型(默认 'return')
|
||||
onOccupiedZone: 'replace'
|
||||
snapToZone: false, // 启用拖拽吸附到最近的分割区域
|
||||
onOccupiedZone: '' // 拖拽到已占用区域时的行为:'return' 返回原位置,'replace' 替换目标位置的模型(默认 'return') "" 允许重叠
|
||||
},
|
||||
transform: {
|
||||
position: position,
|
||||
|
||||
Reference in New Issue
Block a user