mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
Add wantsTrigger to blocks
This commit is contained in:
parent
5022cdd2a7
commit
3cddf65ba1
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,11 @@ getBlockProperties = function() {
|
|||
modelURL: BLOCK_MODEL_URL,
|
||||
shapeType: "compound",
|
||||
//compoundShapeURL: BLOCK_COMPOUND_SHAPE_URL,
|
||||
userData: JSON.stringify({
|
||||
grabbableKey: {
|
||||
wantsTrigger: true
|
||||
}
|
||||
}),
|
||||
dimensions: BLOCK_DIMENSIONS,
|
||||
dynamic: 1,
|
||||
gravity: { x: 0.0, y: -9.8, z: 0.0 },
|
||||
|
|
Loading…
Reference in a new issue